Closed
Bug 1471274
Opened 6 years ago
Closed 6 years ago
Inner text should not affect the behaviour of size-contained elements
Categories
(Core :: Layout, defect, P3)
Core
Layout
Tracking
()
RESOLVED
FIXED
People
(Reporter: morgan, Unassigned)
References
Details
Attachments
(4 files, 1 obsolete file)
According to the draft spec for containment [1], "When laying out the containing element, it must be treated as having no contents. After layout of the element is complete, its contents must then be laid out into the containing element’s resolved size".
The current implementation for 'contain:size' behaves correctly on most frame types, however in flexContinerFrames and HTMLButtonControlFrames information about text contents leaks and affects the positioning/margins of size-contained elements in a small subset of cases.
[1] https://drafts.csswg.org/css-contain/#containment-size
Reporter | ||
Comment 1•6 years ago
|
||
Test case for currently failing 'contain:size' case on flexContainerFrame
Reporter | ||
Comment 2•6 years ago
|
||
Reference case for currently failing 'contain:size' case on flexContainerFrame
Reporter | ||
Updated•6 years ago
|
Attachment #8987885 -
Attachment is obsolete: true
Reporter | ||
Comment 3•6 years ago
|
||
Test case for currently failing 'contain:size' case on flexContainerFrame
Reporter | ||
Comment 4•6 years ago
|
||
Reference case for currently failing 'contain:size' case on HTMLButtonControlFrame
Reporter | ||
Comment 5•6 years ago
|
||
Test case for currently failing 'contain:size' case on HTMLButtonControlFrame
Reporter | ||
Updated•6 years ago
|
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 6•6 years ago
|
||
Fixed in main implementation (Bug 1467209)
You need to log in
before you can comment on or make changes to this bug.
Description
•