Open
Bug 426879
Opened 17 years ago
Updated 2 years ago
empty spans alone on a line should have their heights shrunk
Categories
(Core :: Layout: Block and Inline, defect)
Core
Layout: Block and Inline
Tracking
()
NEW
People
(Reporter: dbaron, Unassigned)
References
(Depends on 1 open bug)
Details
Attachments
(1 file)
(deleted),
text/html; charset=UTF-8
|
Details |
This is spun off of bug 424236, to cover the part that is a regression from bug 416168.
What's happening in this testcase is that (based on the output of NOISY_VERTICAL_ALIGN), in standards mode, we make the inlines that are alone on a line not be empty, but we do make the line that contains them empty (because we enter the code that prints "zapping min/maxY" when we're aligning the root span).
One possibility for how to fix this is to make these inlines hit the emptyContinuation logic, but I'm not sure that will fix all the cases we want to fix. I think the invariant that we want to preserve is that if we're collapsing a line to zero, all the inlines inside it should also be collapsed to zero.
The end result should be that in this testcase, the inlines before and after the block should have at most a dot's worth of outline, not a vertical line's worth of outline.
We could special-case the outline drawing code to just not outline zero-width or zero-height rects.
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•