Closed Bug 1791760 Opened 2 years ago Closed 2 years ago

Make containment logic Frame-aware

Categories

(Core :: Layout, task)

task

Tracking

()

RESOLVED FIXED
107 Branch
Tracking Status
firefox107 --- fixed

People

(Reporter: mrobinson, Assigned: mrobinson)

References

Details

Attachments

(1 file)

This bug tracks moving logic dealing with determining if an element has CSS containment to nsIFrame. Containment depends on both whether or not an element is skipping its content (for content-visibility: auto elements) and whether an element is a non-atomic, inline-level box. Both of these pieces of information are available with the frame.

This will allow this function to eventually return an appropriate value
depending on whether or not content is skipped via content-visibility: auto. This change also starts looking directly at whether
content-visibility is skipping content or not, which should make it
compatible with a future content-visibility: auto implementation.

Pushed by mrobinson@igalia.com:
https://hg.mozilla.org/integration/autoland/rev/36ffdd427253
Move GetContainSizeAxes to nsIFrame r=emilio
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 107 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: