Closed
Bug 8856
Opened 26 years ago
Closed 26 years ago
Carriage returns immediately before a </td> or a </a> are rendered as white space.
Categories
(Core :: Layout, defect, P3)
Tracking
()
People
(Reporter: joshua, Assigned: rickg)
References
()
Details
The URL is to a code snippet that shows the added whitespace between two images in a table when there's a carriage return in the HTML between the <img> and the </td>. The effect was duplicated with </a> and with Text instead of an <img> (see snippet URL).
This is non-standards compliant. See W3C 4.0 Specification Section B.3.1. Occurred using Milestone 7, Build ID 1999062113
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → WORKSFORME
I'm unable to reproduce this. Viewer looks identical to IE and Nav.
Updated•26 years ago
|
Status: RESOLVED → VERIFIED
Comment 2•26 years ago
|
||
I'm also unable to reproduce this issue in July 1 build. Marking verified works
for me.
I believe the original reporter should have stated that it was using the same
behavior as IE & Nav, but that this behaviour is incorrect. The correct
behavior, according to the W3C, is to ignore white space directly before and
after a closing or opening tag.
Perhaps this needs to be differentiated between Quirks mode and Standards mode?
I believe the issues is not with *any* whitespace after start tags or before end
tags, but only line breaks (seems silly, but that's what SGML says). Section
B.3.1 of HTML40 ( http://www.w3.org/TR/REC-html40/appendix/notes.html#h-B.3 )
refers to section 7.6.1 of ISO8879 (SGML), and gives a few examples.
Comment 6•26 years ago
|
||
Status: REOPENED → RESOLVED
Closed: 26 years ago → 26 years ago
Resolution: --- → DUPLICATE
Updated•26 years ago
|
Status: RESOLVED → VERIFIED
Comment 7•26 years ago
|
||
Agreed. This report is now a duplicate of 2750.
You need to log in
before you can comment on or make changes to this bug.
Description
•