Implement parsing of CSS 'anchor-size()' function in the sizing properties
Categories
(Core :: CSS Parsing and Computation, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox132 | --- | fixed |
People
(Reporter: jwatt, Assigned: dshin)
References
(Blocks 2 open bugs)
Details
(Whiteboard: [anchorpositioning:m1])
Attachments
(6 files)
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review |
https://drafts.csswg.org/css-anchor-position-1/#anchor-size-fn
('top', 'left', 'bottom', 'right', 'inset-block-start', 'inset-block-end', 'inset-inline-start', 'inset-inline-end', 'inset-block', 'inset-inline', and 'inset')
Assignee | ||
Updated•2 months ago
|
Assignee | ||
Updated•2 months ago
|
Assignee | ||
Comment 1•1 month ago
|
||
Assignee | ||
Comment 2•1 month ago
|
||
... Instead of handling anchor()
function at each site manually.
Depends on D222530
Assignee | ||
Comment 3•1 month ago
|
||
Depends on D222531
Assignee | ||
Comment 4•1 month ago
|
||
Depends on D222532
Assignee | ||
Comment 5•1 month ago
|
||
Depends on D222533
Assignee | ||
Comment 6•1 month ago
|
||
- WPT tests now accept
anchor-size()
property for sizing, inset, and
margin properties [1]. - Adjust test expectations for
anchor-size()
fallbacks containing
anchor-size()
- This will need to be followed up once [2] is resolved. - Adjust expectations for devtools' auto-completion related mochitests.
[1] https://github.com/w3c/csswg-drafts/issues/9827
[2] https://github.com/w3c/csswg-drafts/issues/10831
Still Failing WPT tests
Depends on D222534
Comment 9•1 month ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/f61878e99adb
https://hg.mozilla.org/mozilla-central/rev/8b5b3715c147
https://hg.mozilla.org/mozilla-central/rev/b570acf3a29f
https://hg.mozilla.org/mozilla-central/rev/d0e997cc4143
https://hg.mozilla.org/mozilla-central/rev/ba6ed0972153
https://hg.mozilla.org/mozilla-central/rev/a0bc0fe119dd
Comment 11•27 days ago
|
||
This increased the number of static constructors by 1 .. but not sure if that metric is currently being tracked.
Assignee | ||
Comment 12•27 days ago
|
||
Hm - TIL that metric exists.
I did add 3 static consts, but they're simple enough that it shouldn't significantly add to static init duration?
Updated•9 days ago
|
Description
•