Invalidation for nth-child(An+B of selector list), nth-last-child(An+B of selector list)
Categories
(Core :: CSS Parsing and Computation, enhancement)
Tracking
()
People
(Reporter: zrhoffman, Unassigned)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
Once matching is supported in bug 1808228, the invalidation reftests in bug 1809470 will still fail (though the invalidation test added in bug 1809659 passes), so it should be addressed before enabling layout.css.nth-child-of.enabled
by default in bug1808229.
Reporter | ||
Comment 1•2 years ago
|
||
Component::NthOf
should be added to collect_ancestor_hashes()
, maybe_allowed_after_pseudo_element()
, matches_for_stateless_pseudo_element()
, and specific_bucket_for()
like Component::Is
and Component::Where
are, which perhaps gets us closer to working :nth-{,last-}child
invalidation but not quite there.
Reporter | ||
Comment 2•2 years ago
|
||
Once matching is supported in bug 1808228, the invalidation reftests in bug 1809470 will still fail (though the invalidation test added in bug 1809659 passes), so it should be addressed before enabling
layout.css.nth-child-of.enabled
by default in bug1808229.
My mistake, the invalidation test added in bug 1809659 fails, too (as well as the ones from bug 1809402).
Reporter | ||
Updated•2 years ago
|
Description
•