Skip to content

Releases: vivliostyle/vivliostyle.js

v2.30.4

20 Aug 15:00
Compare
Choose a tag to compare

2.30.4 (2024-08-20)

Bug Fixes

  • Chromium's standard CSS zoom support check (469c2e8)

v2.30.3

19 Aug 08:54
Compare
Choose a tag to compare

2.30.3 (2024-08-19)

Bug Fixes

  • Viewer page display size is abnormally reduced and layout is broken with Chrome 128 (cd4f25e), closes #1370

v2.30.2

21 Jul 04:20
Compare
Choose a tag to compare

2.30.2 (2024-07-21)

Bug Fixes

  • -adapt-template: footnote should work for "user-agent.xml#footnote" (2b2aa83)
  • epub:type="footnote" on non-aside element should not cause footnote layout (1f21f56), closes #1363
  • Attribute selectors with wildcard namespace not worked (b7c45f7)
  • Browser-native MathML should be enabled when MathJax is not loaded (c1a760e)
  • Flexbox not working on page floats (Regression in v2.28.0) (eb4b6e1), closes #1354
  • unsupported nested media rule causes subsequent rules to fail (6098105), closes #1360

v2.30.1

14 Jun 16:14
Compare
Choose a tag to compare

2.30.1 (2024-06-14)

Bug Fixes

  • InvalidNodeTypeError may happen during table pagination (Regression in v2.30.0) (9c1db41), closes #1345

v2.30.0

04 Jun 09:10
Compare
Choose a tag to compare

2.30.0 (2024-06-04)

Bug Fixes

  • Images with percentage height cause page overflow (f5192f7), closes #1335
  • Images with width and height specified causes page overflow (abb8f78), closes #1343
  • Images with width and height specified may dissapear in print (985095f), closes #1321
  • internal use of class="table-cell-container" may conflict with author/user's use (83c443e)
  • Page breaks not made between some inline elements such as images (4380055), closes #1319 #1051
  • running element page counter incorrect (#1327) (8c390b8), closes #1325
  • table pagination problem (09e472d), closes #1326
  • The windows environment failed to yarn dev (#1337) (20fee03)
  • TypeError occurs when :has(+ …) is used with universal or root selector (d124d62), closes #1341

Features

  • add i18n zh_cn (79b4d06)
  • i18n:zh_CN: add Chinese translation (b20e712)
  • viewer: UI Chinese language support (zh-Hans, zh-Hant) (29dc959)

v2.29.0

03 May 07:45
Compare
Choose a tag to compare

2.29.0 (2024-05-03)

Bug Fixes

  • CSS font descriptors wrongly validated as font properties (44f63fa), closes #1307
  • layout precision problem on float boxes (a561a32), closes #1312
  • Named page wrongly applied to blank pages (07b6a24), closes #1309
  • text-spacing-trim may not work properly between different font sizes (2fd345d), closes #1302
  • Unnecessary page break at footnote or page bottom float (6e4e367), closes #1311
  • Wrong handling of shorthand properties with variables in conditional rules (a26d179), closes #1313

Features

  • Update CSS text-spacing-trim support: Rename trim-auto to trim-both (83ca0c7), closes #1305

v2.28.1

12 Mar 01:11
Compare
Choose a tag to compare

2.28.1 (2024-03-12)

Bug Fixes

  • Footnote causes layout problem on page breaking (aa22bbd), closes #1298

v2.28.0

03 Mar 02:46
Compare
Choose a tag to compare

2.28.0 (2024-03-03)

Bug Fixes

  • adjust TOC box width to account for scrollbar width (47e5d5b)
  • All <nav epub:type="…"> elements in EPUB navigation doc should be shown in TOC box (d31010f), closes #1270
  • blank page selector misapplied when target-counter is used (40a760b), closes #1131
  • break-before specified on floats may not work (06890fe), closes #1288
  • Column floats disappear (52ede7d), closes #1273
  • Float box pushed out of the page area (7e86951), closes #1295
  • float margins collapsed wrongly (03121f2), closes #1282
  • remove old EPUB NCX handling (56ca0ed)
  • set overflow property of @-epubx-partition to hidden by default (c196685), closes /idpf.org/epub/pgt/#s3
  • target-counter leads to pagination to wrong named page (980632d), closes #1272
  • Top margin at unforced page break not truncated correctly (97779f3), closes #1279
  • Top margin of floats at page start should be kept (6c1fb7f), closes #1292
  • TypeError occurs on repeating_elements/nesting test (819e1fd)

Features

  • Add errorCallback config option to VivliostylePrint/printHTML() (9602d61)

v2.27.0

09 Feb 10:20
Compare
Choose a tag to compare

2.27.0 (2024-02-09)

Bug Fixes

  • HTML documents listed in "resources" in pub-manifest should not be rendered as if in "readingOrder" (0bbbd48), closes #1257
  • remove ruby font-size workaround no longer necessary (3138fda)
  • text-spacing not working properly with text-spacing natively enabled browser (42e16f4), closes #1252
  • text-spacing-trim:space-first not working properly in some case (398b53e), closes #1261
  • TOC box should contain only the TOC element content (754a70c), closes #1258
  • Units vi and vb are mishandled when writing-mode is different from the root element (286cc1e), closes #1265
  • vertical-in-horizontal block height and horizontal-in-vertical block width not computed properly (0f7d45e), closes #1264
  • Viewer page navigation hangs with EPUB/webpub with undetermined page-progression-direction (a7f5572), closes #1260

Features

  • Update CSS user agent default style sheet (b0993a0), closes #1128

v2.26.0

20 Jan 08:42
Compare
Choose a tag to compare

2.26.0 (2024-01-20)

Bug Fixes

  • set hanging-punctuation:none for pre-formatted text default style (52d50c9)
  • text-spacing-trim not working properly in some cases (99b3af3), closes #1251

Features

  • Update CSS text-spacing-trim property to support the latest spec change (114fd6d), closes #1244