Skip to content

Releases: vivliostyle/vivliostyle.js

2017.6

22 Jun 00:30
Compare
Choose a tag to compare

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

Added

Changed

  • Place footnotes at the bottom of pages (or regions) rather than columns #343
  • Disable hyphenation by default #363

Fixed

  • Fix footnote layout bugs #332
  • Fix justification bugs #356 #357 #358
  • Fix problem that content sometimes overflows a partition instead of being deferred to the next partition #361 #362

2017.2

22 Feb 07:04
Compare
Choose a tag to compare

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

Added

Changed

  • Change license to AGPL 3.0 #329

Fixed

  • Fix incorrect page breaking at boundaries of inline-block boxes #309
  • Improve page/column breaking inside tables #311
    • Following issues are resolved:
      • Table cell with rowspan disappears after page break #85
      • Table (column) width should not change over page breaks #157
      • Table breaks occur between the colgroup and the first row #279
  • Fix incorrect treatment of percentage value for line-height property #312
  • Support repeating table header/footer across pages #319
  • Fix incorrect widows behavior with footnote call close to the end of the page #328

2016.10

25 Oct 07:16
Compare
Choose a tag to compare

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

Added

Changed

  • Introduce background layout and change event model #292
  • Improve zoom behavior #292
  • Add very simple 'auto spread' page view mode #300

Fixed

  • Fix bug that pages occasionally disappear when resolving cross references #268
  • Respect target="_blank" on links to external URLs #269
  • Fix incorrect page breaks with cross references #271
  • Fix image-resolution behavior when max/min-width/height is specified in length (not percentage) #275
  • Fix image-resolution to take box-sizing into account #276
  • Fix cross reference bug with name attribute #278
  • Avoid error when inherit value is used #283
  • Avoid error when rem unit is used #283
  • Fix rem unit inside position: relative elements #242
  • Fix internally generated IDs on elements to conform to the XML specification #295

2016.7

04 Jul 11:02
Compare
Choose a tag to compare

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

Added

Changed

  • counter-reset and counter-increment specified in a page master (@-epubx-page-master) are now effective to page-based counters #251
    • Note that these values, if specified, always override values specified in page contexts.

Fixed

  • Fix a bug that clear is ignored when white-space property is used before the element #222
  • Fix incorrect float positioning #192
  • Fix incorrect float clearance #223
  • Fix incorrect text offset caused by float #226
  • Fix improper rendering of floats with relative width/height #37
  • Fix positioning when a float is specified position: relative or a float is inside an positioned element #240
  • Fix positioning when a float has a writing-mode value different from its container #192
  • Fix issue with floats inside an element with an overflow value other than visible #224
  • Fix issue that a display value was always set to block for a float, ignoring the original value #232
  • Fix layout when a float is wider than its containing block #233
  • Avoid error when an element with pseudoelements overflows its container #241
  • Fix handling of padding and border of a block fragmented by a page/column break #250
  • Fix layout of floats inside flex containers #253
  • Fix page break bug in vertical text on Firefox (partially) #263

2016.4

08 Apr 02:39
Compare
Choose a tag to compare

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

Added

Fixed

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