Closed
Bug 10490
Opened 25 years ago
Closed 25 years ago
{HTML4} Line breaks immediately before end tags not ignored
Categories
(Core :: DOM: HTML Parser, defect, P3)
Tracking
()
People
(Reporter: allen.sam, Assigned: buster)
Details
(Whiteboard: [TESTCASE])
Attachments
(2 files)
The following two HTML fragments should render exactly the same.
<a href="">My favorite Website</a>
<a href="">
My favorite Website
</a>
Mozilla does not correctly ignore the line break immediately before the end tag
(the underline continues out one space more than it should).
The relevant section of HTML 4.0 is:
http://www.w3.org/TR/REC-html40/appendix/notes.html#h-B.3.1
Kipp -- FYI. The parser doesn't drop newlines because it can't determine the CSS
context in which they'll be rendered.
Updated•25 years ago
|
Whiteboard: [TESTCASE] klein_sh@inter.net.il
Comment 3•25 years ago
|
||
Summary: Line breaks immediately before end tags not ignored → {HTML4} Line breaks immediately before end tags not ignored
Whiteboard: [TESTCASE] klein_sh@inter.net.il → [TESTCASE]
This should be a non-quirk mode behavior, activated by the HTML 4.0 Strict
Doctype. 4.x shows the line break preceeding the ETAGO.
(The attachment made by klein_sh@inter.net.il does not include a HTML 4.0
Strict Doctype, so it is rendered correctly (with 4.x's quirks). The second
part of that attachment only displays correctly because there is no discernable
difference between bold and not bold whitespace.)
Updated•25 years ago
|
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
Comment 5•25 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•