Inline abs-containing block with trailing whitespace overflows its own box
Categories
(Core :: Layout: Positioned, defect)
Tracking
()
People
(Reporter: dshin, Unassigned)
References
Details
Attachments
(1 file)
|
266 bytes,
text/html
|
Details |
In the attached test case, "b" should be positioned within the bordered box, but it's outside.
| Reporter | ||
Updated•1 year ago
|
| Reporter | ||
Comment 1•1 year ago
•
|
||
When inline frame's abspos children are being reflowed, we only have the non-trimmed size available to us.
The proper size is set only when the entire line is being placed, after all (Incl. abspos children) frames in that line are reflowed.
... So perhaps the answer is that we need to do a separate traversal for abspos containing frames within inline layout context.
Note while we do track potentially-trimmed inline size in line layout context, but we can't just use it since the trimming may not happen: e.g. An abspos containing span with trailing spaces, but then it has a next sibling span with content. This approach likely doesn't handle deeply nested spans, etc. either.
| Reporter | ||
Updated•1 year ago
|
Description
•