Closed Bug 1648 Opened 26 years ago Closed 25 years ago

Improper line spacing

Categories

(Core :: Layout, defect, P2)

x86
Windows NT
defect

Tracking

()

VERIFIED INVALID

People

(Reporter: peterl-retired, Assigned: buster)

Details

Given the following markup:
<body>
<p>
  <nobr>some text that doesn't wrap</nobr>
  <br>
  <nobr>some text that doesn't wrap</nobr>
  <br>
  <nobr>some text that doesn't wrap</nobr>

when the window is sized too small to fit the entire text line, the <BR> flows
into lines between the text, causing too much vertical spacing
Both Nav and IE do the same thing. Do you really think I should fix it?

The reason its wrapping is because of the newline that follows the close nobr
tag - that is translated into a non-compressed whitespace which takes up space
on the line. once the line gets too skinny, we push that frame (which isn't
empty) to the next line - where it ends up collapsed.
Oh Bugger. I had a test case where we behaved differently than Nav (Nav didn't
wrap the BRs). Maybe I reduced the HTML too far... I'll look into it some more.
Setting all current Open/Normal to M4.
per leger, assigning QA contacts to all open bugs without QA contacts according
to list at http://bugzilla.mozilla.org/describecomponents.cgi?product=Browser
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → INVALID
Not really a bug; nav and IE and gecko do it....albeit maybe a confusing
behavior, but correct.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.