Releases: vivliostyle/vivliostyle.js
Releases · vivliostyle/vivliostyle.js
v2.30.5
2.30.5 (2024-10-20)
Bug Fixes
- "Failed to parse stylesheet" warning (Firefox and Safari) (0b57769)
- CSS counter-increment and counter-reset should be ignored for elements with
display: none
(5ed23e8), closes #1385 - CSS counter-reset scoping problem (100c101), closes #1389
- CSS direction property ignored on margin boxes (61719eb), closes #1393
- CSS implicit list-item counter (56941e5), closes #1391
- Float box inside inline element disappeared at page break (6805ff9), closes #1383
- Prevent "A network error occurred." in console when using web fonts (5cd0afc)
- viewer: Deprecated meta tag "apple-mobile-web-app-capable" (d1a23a4)
- writing-mode on
@page
not inherited properly to margin boxes (c5f8eb9), closes #1392 - Wrong processing order of counter-set and counter-increment (d1ca8cd), closes #1390
v2.30.4
v2.30.3
v2.30.2
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
v2.30.0
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
v2.29.0
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
v2.28.1
v2.28.0
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
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