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)

x86
Windows NT
defect

Tracking

()

VERIFIED DUPLICATE of bug 2750

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.
Status: RESOLVED → VERIFIED
I'm also unable to reproduce this issue in July 1 build. Marking verified works for me.
Status: VERIFIED → REOPENED
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?
Resolution: WORKSFORME → ---
Clearing WorksForMe resolution since it got re-opened.
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.
This a dup of bug 2750. *** This bug has been marked as a duplicate of 2750 ***
Status: REOPENED → RESOLVED
Closed: 26 years ago26 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
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.