Skip to content

Releases: vivliostyle/vivliostyle.js

2016.1

20 Jan 00:31
Compare
Choose a tag to compare

See http://vivliostyle.com/en/documentation/supported-features/ for supported features.

Added

  • Support EPUB loading #60
    • loadEPUB method of Viewer class loads an unzipped EPUB directory.
  • Support some EPUB features #62
    • Support page-progression-direction attribute of spine element in OPF
    • Accept -epub- prefixed text-emphasis-* properties
  • Support :nth-child() pseudo-class selector (only an integer argument can be used) #69
  • Basic CSS Page Floats support #72
    • Spec: CSS Page Floats
    • Only basic float placement without stacking or collision avoidance is supported.
  • Improve handling of @font-face rules #79
  • Support JIS-B5 and JIS-B4 page sizes #75
  • Accept flexbox properties #90
  • Support srcset attribute for img and source elements #117

Changed

  • Add default page margin #81

Fixed

  • Fix zoom problem when viewport is specified by the document #61
  • Fix incorrect layout of HTML which is well-formed as XML
  • Fix viewport blinking while loading #77
  • Fix media queries behavior #78 #80
  • Fix calculation of rem unit values #82
  • Improve MathJax performance #116
  • Fix bug that rules above footnotes disappear #118
  • Allow an EPUB directory URL not followed by a slash #120
  • Change initial values of orphans and widows to 2 #30
  • Allow page/column break inside tables #101
  • Fix internal hyperlinks to elements with 'name' attributes #94
  • Allow units spelled in upper case #36
  • Fix handling of forced and avoid break values; update acceptable values for break-* properties #26 #103
    • Spec: CSS Fragmentation Module Level 3
    • Note that the current implementation treats all values of break-inside other than auto as the same as avoid. The fine-grained control (distinguishing avoid, avoid-page, avoid-column and avoid-region) will be a future task and tracked with a separate issue.
    • Note that though the spec requires to honor multiple break-before/break-after values at a single break point, the current implementation choose one of them and discard the others. The fine-grained control of these break values will be a future task and tracked with a separate issue.
  • Element names and attribute names in selectors are now treated in a case-insensitive manner #95
  • Fix incorrect positioning of floats and clearance #135
  • Fix attribute selector ~= #137
  • Fix initial value of unicode-bidi #137
  • Fix support for q unit #137
  • Avoid page break between ruby base and annotation #139
  • Do not block entire process when stylesheets cannot be fetched or parsed #141
  • Fix problem that pages with viewport specified have incorrect horizontal offset on screen #142

0.2.0 (beta)

16 Sep 09:31
Compare
Choose a tag to compare
0.2.0 (beta) Pre-release
Pre-release

Beta release. See Change Log for additional information.

Added

Changed

Fixed

  • [core] Avoid incorrect margin collapse of the page area
  • [core] Fix incorrect positioning of floats
  • [viewer] Make keyboard shortcuts work on various browsers
  • [core] Fix duplicating page when navigate to the last page of each spine
  • [core] Fix several problems on web font loading

0.1.1 (alpha)

06 May 02:28
Compare
Choose a tag to compare
0.1.1 (alpha) Pre-release
Pre-release

Minor update with several changes and bug fixes.
The first alpha version of the Chrome Extension (paginate arbitrary web content using Vivliostyle.js) is also provided.

Added

  • [core] Support :root pseudo-class selector
  • [core] Support CSS properties currently implemented by browsers
    • See #18 for details.

Changed

  • [core] Cascade page size specified in @page rules to page masters defined by @-epubx-page-master rules
    • When @page rules and @-epubx-page-master rules are both specified, the page size specified by 'size' property in @page rules is applied to the selected page master. This behavior is not defined in the related specs. We added this behavior for a use case in which one wants to print content styled with Adaptive Layout on a paper sheet and wants to specify the sheet size by adding a (user) stylesheet containing @page rules with 'size' property.

Fixed

  • [core] Fixed incorrect page layout when non-zero padding is specified in page context.
  • [core] 'page-width', 'page-height' variables (used in -epubx-expr) are now correctly reflect the page size specified by @page rules
  • [viewer] Fixed incorrect page size calculation when content with 'auto' page size is viewed in the spread view mode.

Alpha release

01 May 04:18
Compare
Choose a tag to compare
Alpha release Pre-release
Pre-release

Initial alpha release. Following features are added while keeping the original Adaptive Layout features.

Added

  • [core] Support @page rule
  • [viewer] Support spread view mode
    • The spread view can be enabled by adding '&spread=true' to the end of the viewer URL.
    • Note: Page size calculation is incorrect when content with 'auto' page size is viewed in the spread view mode. This problem will be fixed in the next release.
  • [viewer] Added page navigation buttons