Skip to content

Releases: vivliostyle/vivliostyle.js

v2.19.2

17 Nov 01:58
Compare
Choose a tag to compare

2.19.2 (2022-11-17)

Bug Fixes

  • @supports selector(…) did not work (49c48a4)
  • improve box edge treatment at page break and box-decoration-break support (d5ea1a9), closes #603 #1030 #1038
  • wrong first line treatment on text-spacing:space-first and hanging-punctuation:first (0ccdca2), closes #1041
  • wrong page break prohibition between text and block box (68b3754), closes #1036

v2.19.1

21 Oct 16:17
Compare
Choose a tag to compare

2.19.1 (2022-10-21)

Bug Fixes

  • Error with undefined CSS variables in calc expression in shorthand property (db948cb), closes #1028

v2.19.0

18 Oct 06:07
Compare
Choose a tag to compare

2.19.0 (2022-10-18)

Bug Fixes

  • Selector E ::pseudo is misinterpreted as E::pseudo (e79e5ce), closes #1026

Features

  • Add support for :has() pseudo-class in Selectors Level 4 (8ed553f), closes #828
  • Add support for :is()/:not()/:where() pseudo-classes in Selectors Level 4 (68baee0), closes #957

v2.18.4

12 Oct 01:52
Compare
Choose a tag to compare

2.18.4 (2022-10-12)

Bug Fixes

  • CSS parser error with calc expression including parens and variables (88c4ae0), closes #1014
  • CSS parser error with property:calc(…) misinterpreted as selector with pseudo class (71c39bf), closes #1020
  • percentage units in color value changed, resulting in invalid colors (a45e861), closes #1012
  • RTL direction not behaving in multi column (d6280f1), closes #1016
  • TypeError occurs with ::nth-fragment() and ::after-if-continues() selectors (7a7c1aa), closes #1023
  • wrong CSS variable scoping (37e800a), closes #1015

v2.18.3

30 Sep 08:46
Compare
Choose a tag to compare

2.18.3 (2022-09-30)

Bug Fixes

  • [Regression] wrong text-spacing with fullwidth opening brackets near end of line (667b219), closes #1010

v2.18.2

30 Sep 03:47
Compare
Choose a tag to compare

2.18.2 (2022-09-30)

Bug Fixes

  • viewer: Apply and Cancel buttons in Settings menu should not be scrolled out (2df1b74)
  • viewer: disable shortcut keys when an input box exists in document and that is activated (0eedcc0)
  • wrong text-spacing when non-fullwidth closing and fullwidth opening brackets are adjacent (331322b), closes #1003
  • wrong text-spacing with fullwidth punctuations in some edge cases (6a79482), closes #1005 #1006
  • wrong text-spacing:space-first and hanging-punctuation:first at page break inside paragraph (ddd6d6c), closes #1008

v2.18.1

18 Sep 14:25
Compare
Choose a tag to compare

2.18.1 (2022-09-18)

Bug Fixes

  • DOMException error caused by wrong instanceof Element usage (d959b95), closes #1000
  • viewer: crop marks values (e.g., crop cross) should be able to be specified (233ce43)

v2.18.0

17 Sep 15:42
Compare
Choose a tag to compare

2.18.0 (2022-09-17)

Bug Fixes

  • error with <object> tag (9e9565f), closes #995
  • errors on the Acid2 Browser Test (849a604)
  • failed some of the css-variables tests (5d0f324)
  • incorrect column-rule positioning in vertical writing mode (3cc0e01), closes #978
  • unnecessary page break caused by ruby elements (21eb17c), closes #987
  • valid CSS rules ignored after parsing error with invalid or unsupported CSS rule (5e76ed5), closes #597 #976
  • viewer: problem on author/user stylesheet switch ("Set as user stylesheet" checkbox) (2799a34)
  • viewer: tweak Reset Custom Style checkbox behavior (9c96ccb)
  • viewer: unbound this error "Cannot set properties of undefined" (2505458)
  • wrong cascading on shorthand property with CSS variable (2ee7927), closes #979
  • wrong cascading with CSS !important (fb1dae2), closes #986
  • wrong text justification at last line of page caused by consecutive ruby elements (ad26952), closes #985

Features

  • viewer: add crop marks setting (1d0834b), closes #993
  • viewer: change "User Style" to "Custom Style" and treat it as an author stylesheet by default (bdb26d4), closes #991
  • viewer: set bookMode=true as default (5411264), closes #992

v2.17.2

14 Aug 02:38
Compare
Choose a tag to compare

2.17.2 (2022-08-14)

Bug Fixes

  • Incorrect behavior of ::first-letter and ::first-line selectors (adca8ef), closes #566 #586

v2.17.1

09 Aug 05:56
Compare
Choose a tag to compare

2.17.1 (2022-08-09)

Bug Fixes

  • float with clear not properly positioned (54a00b8), closes #969
  • Relative length units such as em and vw used in CSS calc() not working correctly (5bd7ce3), closes #968
  • unnecessary warning "Property not supported by the browser: ua-list-item-count" (f9419a3)