Skip to content

Commit 85b467b

Browse files
authored
Update LMS matrices (#2374)
This recomputes all existing LMS-related matrices based on losslessly applying the logic described in w3c/csswg-drafts#6642 (comment). See sass/sass-spec#2024
1 parent 2c5f1e9 commit 85b467b

File tree

2 files changed

+153
-149
lines changed

2 files changed

+153
-149
lines changed

CHANGELOG.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,16 @@
22

33
* Changes to how `selector.unify()` and `@extend` combine selectors:
44

5-
* The relative order of pseudo-classes (like `:hover`) and pseudo-elements
6-
(like `::before`) within each original selector is now preserved when
7-
they're combined.
5+
* The relative order of pseudo-classes (like `:hover`) and pseudo-elements
6+
(like `::before`) within each original selector is now preserved when
7+
they're combined.
88

9-
* Pseudo selectors are now consistently placed at the end of the combined
10-
selector, regardless of which selector they came from. Previously, this
11-
reordering only applied to pseudo-selectors in the second selector.
9+
* Pseudo selectors are now consistently placed at the end of the combined
10+
selector, regardless of which selector they came from. Previously, this
11+
reordering only applied to pseudo-selectors in the second selector.
12+
13+
* Tweak the color transformation matrices for OKLab and OKLCH to match the
14+
newer, more accurate values in the CSS spec.
1215

1316
* Fix a slight inaccuracy case when converting to `srgb-linear` and
1417
`display-p3`.

0 commit comments

Comments
 (0)