Skip to content

Releases: vivliostyle/vivliostyle.js

v2.40.0

11 Jan 15:03

Choose a tag to compare

2.40.0 (2026-01-11)

Bug Fixes

  • Fix image disapearance when it does not fit in the page (Regression in v2.36.0) (d410874), closes #1637
  • Fix incorrect page layout depending on Viewer window size (8948100), closes #1638
  • Fix incorrect page numbers during link navigation (d4bbc40), closes #1616
  • Prevent TOC box from interfering with main content rendering (a8454ec), closes #1616
  • react: handle React StrictMode double-mount issue (94dfcf9), closes #1629

Features

  • Add device-cmyk() CSS color function support (30db80a)

v2.39.1

27 Dec 02:40

Choose a tag to compare

2.39.1 (2025-12-27)

Bug Fixes

  • Fix text disappearance when multi-column box is broken across pages (a23d2f8), closes #1625

v2.39.0

25 Dec 05:54

Choose a tag to compare

2.39.0 (2025-12-25)

Features

  • Support CSS :nth-child(An+B of S) selectors (820ce29), closes #1488
  • Support CSS :nth(An+B of C) page selector (fa2b365), closes #1621

Acknowledgements

v2.38.0

18 Dec 06:43

Choose a tag to compare

2.38.0 (2025-12-18)

Bug Fixes

  • Fix column-fill: auto handling in multi-column elements (0e2673f), closes #1618 #1580

Features

  • Support CSS initial-letter property (d520994), closes #1491

v2.37.0

14 Dec 17:45

Choose a tag to compare

2.37.0 (2025-12-14)

Bug Fixes

  • Avoid infinite page break loop caused by clear + break-before (89a537b), closes #1608
  • Respect default line-height preference setting (75fad37)
  • Stop treating CSS "ex" unit as 1/2 em (09f7fdd)

Features

  • Do not load MathJax unless specified in the document (4e6a06d), closes #1501
  • Implement @ counter-style (#1600) (3e5ab8c), closes #731
  • Support CSS ::marker pseudo-element and improve list-style properties (eac16de), closes #732

v2.36.4

02 Dec 08:20

Choose a tag to compare

2.36.4 (2025-12-02)

Bug Fixes

  • Footnotes caused "TypeError: Cannot read properties of null" (Regression in v2.36.3) (7d02415)

v2.36.3

01 Dec 09:44

Choose a tag to compare

2.36.3 (2025-12-01)

Bug Fixes

  • Adjust font-size and line-height to prevent text overflow due to sub-pixel rounding errors (93b5fbe), closes #1590
  • Disable column-fill balance during leader calculation (#1598) (9fd9883)
  • Images with loading="lazy" attribute cause Vivliostyle.js to freeze (fd15212), closes #1589
  • ToC menu may not work (fbec5d0), closes #1591
  • workaround for Safari/WebKit(< 26.2) bug on column-count:1 (3dc323f)

v2.36.2

19 Nov 10:44

Choose a tag to compare

2.36.2 (2025-11-19)

Bug Fixes

  • Fix isUsingBrowserColumnBreaking called with null (7804f58), closes #1586

v2.36.1

18 Nov 09:44

Choose a tag to compare

2.36.1 (2025-11-18)

Bug Fixes

  • Fix float layout problem (Regression in v2.36.0) (3d05aa5), closes #1584
  • Fix leader() width calculation when base text spans multiple lines (6816d61)
  • Support leader() in ::before pseudo-elements (815087e)

v2.36.0

14 Nov 15:00

Choose a tag to compare

2.36.0 (2025-11-14)

Bug Fixes

  • CSS break-before may cause wrong layout in print (Regression in v2.34.1) (30765e1), closes #1572
  • Enable column-fill: auto in non-root multi-column elements (7dc9d25)
  • Fix float behavior in non-root multi-column elements (ca6d021)
  • Fix float clear bug in vertical writing mode (1dbee96), closes #1565
  • Fix forced page breaks specified on table rows or cells not working (ff04a75), closes #1492
  • Workaround for overflow caused by forced column breaks in non-root multi-column elements (252ef0d)
  • Improve page/column breaking in tables (e11920a)
  • Improve page/column breaking using browser multi-column feature (4dc400c)
  • Improve performance for very long text block across pages (9a18a25), closes #1256
  • Respect inline elements in leader (#1577) (cda61d4)

Features

Acknowledgements