Force reflow of fewer anonymous children of `content-visibility: hidden`
Categories
(Core :: Layout, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox107 | --- | fixed |
People
(Reporter: mrobinson, Assigned: mrobinson)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
Bug 1789255 forced the reflow of all anonymous in-flow children of content-visibility: hidden
elements. In some cases that can lead to more reflows than necessary, because this work-around is really only useful for anonymous blocks. In some cases, particularly involving content-visibility
on the <body>
element, this can lead to a decent number of reflows. This change tracks narrowing the work-around to only include anonymous blocks.
Assignee | ||
Comment 1•2 years ago
|
||
Reflow fewer types of anonymous children (only anonymous blocks) of
content-visibility: hidden
elements. This reduces the number of
reflows for skipped content. This also adjusts to the implementation of
IsHiddenByContentVisibilityOnAnyAncestor() to match the implementation of
IsHiddenByContentVisibilityOfInFlowParentForLayout() in only skipping
one layer of anonymous content.
Comment 3•2 years ago
|
||
bugherder |
Description
•