Implement :first for @page rules
Categories
(Core :: CSS Parsing and Computation, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox116 | --- | fixed |
People
(Reporter: alaskanemily, Assigned: alaskanemily)
References
(Blocks 1 open bug)
Details
(Keywords: dev-doc-needed)
Attachments
(3 files)
With our current support for named pages, :first will both be the simplest page pseudo-class to implement, and will be immediately useful for existing code.
Assignee | ||
Comment 1•2 years ago
|
||
This currently will not match page-rules based on any selectors with any
pseudo-classes present.
Assignee | ||
Comment 2•2 years ago
|
||
Updated•2 years ago
|
Updated•2 years ago
|
Assignee | ||
Comment 3•2 years ago
|
||
Comment 6•2 years ago
•
|
||
Backed out for wpt failure on page-rule-declarations-000.html
Backout link: https://hg.mozilla.org/integration/autoland/rev/1fa9fd10adfa7f4246e4c75d8c26458900028488
Log link: https://treeherder.mozilla.org/logviewer?job_id=420113599&repo=autoland&lineNumber=5405
Please also check https://treeherder.mozilla.org/logviewer?job_id=420116919&repo=autoland&lineNumber=5646
Assignee | ||
Comment 8•2 years ago
|
||
Just a note about why it looks like more tests are failing in WPT css/css-page/page-rule-declarations-000.html, the last expected failure of [CSS Paged Media: parsing @page declarations]
indicates some page rules could not be parsed. Before this patch, the two new expected-fails were covered by that annotation because they included :first
and :right
.
We fail them now because we don't support the properties, but they show up as distinct failures because we can parse the selectors.
Comment 10•2 years ago
|
||
Backed out for causing failures on cssom-ruleTypeAndOrder.html, page-rule-declarations-000.html
Comment 12•2 years ago
|
||
Comment 13•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/c48fab5fd55f
https://hg.mozilla.org/mozilla-central/rev/52272706d0b0
https://hg.mozilla.org/mozilla-central/rev/47085465184b
Assignee | ||
Updated•2 years ago
|
Updated•1 years ago
|
Description
•