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)

Other
Other
defect

Tracking

()

VERIFIED DUPLICATE of bug 2750

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
Assignee: rickg → kipp
Kipp -- FYI. The parser doesn't drop newlines because it can't determine the CSS context in which they'll be rendered.
Whiteboard: [TESTCASE] klein_sh@inter.net.il
Attached file Test Case for 10490 Bug (deleted) —
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.)
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
Marking a duplicate of bug 2750. *** This bug has been marked as a duplicate of 2750 ***
Status: RESOLVED → VERIFIED
Good catch -- verifying.
*** Bug 63839 has been marked as a duplicate of this bug. ***
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: