Closed Bug 181093 Opened 22 years ago Closed 22 years ago

Anchor Tag in TD Prior to P elemt causes space above the text.

Categories

(Core :: Layout: Tables, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 33784

People

(Reporter: donguana, Unassigned)

Details

Attachments

(1 file)

955 bytes, text/html
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2b) Gecko/20021016 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2b) Gecko/20021016 It seems that an anchor tag prior to a P tag will create a return. The following <TD><a NAME="top"></a><p>Some Text...</p></TD> will display a return then the text. The following <TD><p>Some Text...</p></TD> will display the text with no return prior. Reproducible: Always Steps to Reproduce: See attachment. Actual Results: Extra CR being added Expected Results: No CR added in anchor.
Attached file Testcase
There is no CR added. Just the margin of the <p> is not removed (we remove it purposefully for backwards compat in some cases like this in quirks mode). dbaron, I'm failing to find the bug on this; I should just bookmark it...
*** This bug has been marked as a duplicate of 33784 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: