Closed
Description
In #9100 we resolved that style containment should contain anchor names.
The containment spec, non-normatively says the following about the size containment:
When paired with layout containment, though, possible optimizations that can be enabled include (but are not limited to):
- When the style or contents of a descendant of the containment box is changed, calculating what part of the DOM tree is "dirtied" and might need to be re-laid out can stop at the containment box.
- When laying out the page, if the containment box is off-screen or obscured, the layout of its contents (i.e. "laying out in-place") can be delayed or done at a lower priority.
I don't believe these optimizations would hold if anchor names are not contained by size or layout containment.
I was thinking about this in context of content-visibility, which would need to contain anchor names in some way, but it also sets style containment so #9100 should be enough to satisfy that concern.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Tuesday morning