Open
Bug 209073
Opened 22 years ago
Updated 3 years ago
Lines containing only newlines have no height (empty line boxes) (white-space: pre on inlines collapses newlines together)
Categories
(Core :: Layout: Block and Inline, defect)
Tracking
()
NEW
People
(Reporter: ian, Unassigned)
References
(
URL
)
Details
(Whiteboard: DUPEME)
All line boxes should have a height, even empty ones. Thus, "\A\A" in generated
content should take up room. At the moment, empty line boxes take no room, so
there's no way to introduce more than one newline at a time.
Whiteboard: DUPEME
| Reporter | ||
Comment 1•22 years ago
|
||
There's a lot of code in nsLineLayout that deals with empty continuation frames.
My guess would be that some of it is over-eager.
I thought this was a dupe too but I couldn't find the other bug. Bug 82296 is
probably related, though.
| Reporter | ||
Comment 2•22 years ago
|
||
See also bug 49938.
Summary: Lines containing only newlines have no height → Lines containing only newlines have no height (empty line boxes)
| Reporter | ||
Comment 3•22 years ago
|
||
Actually, this is probably buggy mainly because we don't truly support
white-space on inlines (bug 100604) and thus on :before and :after inlines the
support is less than optimal. In fact I'm not that sure why it has any effect at
all. Go figure.
Depends on: 100604
| Reporter | ||
Updated•22 years ago
|
Summary: Lines containing only newlines have no height (empty line boxes) → Lines containing only newlines have no height (empty line boxes) (white-space: pre on inlines collapses newlines together)
| Reporter | ||
Comment 4•22 years ago
|
||
*** Bug 210983 has been marked as a duplicate of this bug. ***
| Reporter | ||
Updated•20 years ago
|
Updated•16 years ago
|
Assignee: layout.block-and-inline → nobody
QA Contact: ian → layout.block-and-inline
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•