Implement CSS parsing support for the @font-palette-values at-rule
Categories
(Core :: CSS Parsing and Computation, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox107 | --- | fixed |
People
(Reporter: jfkthame, Assigned: jfkthame)
References
Details
Attachments
(4 files)
This is somewhat like the existing @font-feature-settings rule (though simpler), and can be implemented along similar lines.
Assignee | ||
Comment 1•3 years ago
|
||
Not yet hooked up to any rendering functionality.
The intention is for both the @font-palette-values at-rule and the font-palette property
to be behind the same pref being introduced here.
Updated•3 years ago
|
Assignee | ||
Comment 2•3 years ago
|
||
Depends on D157953
Assignee | ||
Comment 3•3 years ago
|
||
The couple of remaining test failures relate to an unclear detail of the spec; see
https://github.com/w3c/csswg-drafts/issues/7308
https://github.com/w3c/csswg-drafts/issues/6916
I've implemented the behavior that I think makes most sense, but the current tests disagree.
Once the CSS WG decides which way to clarify this, we can readily fix either the tests or
our implementation.
Depends on D157954
Assignee | ||
Comment 4•3 years ago
|
||
In https://github.com/w3c/csswg-drafts/issues/6916, the spec text has been updated to clarify
that the font-family descriptor accepts a list of family names.
Depends on D157955
Comment 7•3 years ago
|
||
Comment 9•3 years ago
|
||
Backed out for causing build bustages on TestCOLRv1.cpp
- Backout link
- Push with failures
- Failure Log
- Failure line: /builds/worker/checkouts/gecko/gfx/tests/fuzz/TestCOLRv1.cpp:57:55: error: no viable conversion from 'mozilla::gfx::sRGBColor' to 'const mozilla::gfx::Point' (aka 'const PointTyped<mozilla::gfx::UnknownUnits>')
Comment 10•3 years ago
|
||
Comment 11•3 years ago
|
||
Backed out 9 changesets (Bug 1791778, Bug 1791782, Bug 1791780, Bug 1791777) for causing build bustages in TestCOLRv1.cpp CLOSED TREE
Log: https://treeherder.mozilla.org/logviewer?job_id=392630966&repo=autoland&lineNumber=15311
Backout: https://hg.mozilla.org/integration/autoland/rev/f1accadf1754ad5aa8d668ecb22ec8ef1a5bd880
Comment 12•3 years ago
|
||
Comment 13•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/9d7de4f1be55
https://hg.mozilla.org/mozilla-central/rev/e1b9106de285
https://hg.mozilla.org/mozilla-central/rev/eb4554c39a2f
https://hg.mozilla.org/mozilla-central/rev/a588e88a1d8b
Assignee | ||
Updated•3 years ago
|
Description
•