Closed
Bug 53985
Opened 24 years ago
Closed 24 years ago
space before <br> at end of line with no room left gets wrapped to next line
Categories
(Core :: Layout, defect, P3)
Core
Layout
Tracking
()
Future
People
(Reporter: ian, Assigned: buster)
References
()
Details
(Keywords: css1, relnote, testcase, Whiteboard: relnote-devel)
This broke out of bug 13097. The code fragment: <div> some text just long enough to fit on the line <br> some more text </div> ...renders as: some text just long enough to fit on the line some more text Note the extra blank line. This is easily reproducable if you use images instead of text, and a fixed width DIV or table cell to hold them in. STEPS TO REPRODUCE: See test case: http://www.bath.ac.uk/%7Epy8ieh/cgi/development/tests/linemodel1?mode=standard EXPECTED RESULTS: Only a few pixels between each line, except the last one in each block (<br><br>) which should have a whole blank line. ACTUAL RESULTS: As expected except for the " <br>" cases when the width of the line is equal to or less than the length of the "text" (actually an image) on the line. TESTED ON: Known to be broken on All/All.
Reporter | ||
Comment 1•24 years ago
|
||
RELEASE NOTE ITEM: Mozilla currently does not ignore whitespace before a <br>, which in certain rare cases can cause an extra blank line to be inserted in the rendering. See bug 53985 for more details. Workaround: remove any spaces before a <br> element, or avoid use of this element altogether.
Updated•24 years ago
|
Whiteboard: relnote-devel
Reporter | ||
Comment 3•24 years ago
|
||
good catch! *** This bug has been marked as a duplicate of 25680 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•