[css-color] Parse the `from` keyword for relative color syntax.
Categories
(Core :: CSS Parsing and Computation, enhancement, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox126 | --- | fixed |
People
(Reporter: tlouw, Assigned: tlouw)
References
(Blocks 1 open bug)
Details
(Keywords: dev-doc-needed)
Attachments
(1 file)
Assignee | ||
Comment 1•5 months ago
|
||
All color functions support a from keyword as part of the relative color
syntax.
https://drafts.csswg.org/css-color-5/#relative-colors
This patch adds a pref layout.css.relative-color-syntax.enabled that is
off by default.
We start passing tests that only check for the validity of the from
keyword in different color functions.
Comment 2•5 months ago
|
||
This should probably be documented at https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Experimental_features once the patch lands (even when it just adds the parsing part).
Sebastian
Pushed by tlouw@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2162274710de Parse the `from <color>` part of the relative color syntax. r=layout-reviewers,emilio
Comment 4•5 months ago
|
||
bugherder |
Comment 5•5 months ago
|
||
If I am reading this correctly there is no actual support for from
keyword as yet this is just allowing it be parsed. Is that correct?
Assignee | ||
Comment 6•5 months ago
|
||
(In reply to Dave Letorey from comment #5)
If I am reading this correctly there is no actual support for
from
keyword as yet this is just allowing it be parsed. Is that correct?
Correct. If you are after the progress of relative color syntax, see bug 1701488.
Description
•