Closed Bug 52012 Opened 24 years ago Closed 24 years ago

Comment affects placement of div in bogus html

Categories

(Core :: DOM: HTML Parser, defect, P3)

x86
Windows 98
defect

Tracking

()

VERIFIED DUPLICATE of bug 40855

People

(Reporter: jruderman, Assigned: harishd)

Details

Attachments

(2 files)

In the following code, the comment affects the position of the div:

<table border="1">
 <tr>
  <div style="position:absolute;">          <-- <tr><div> is probably bogus
   <!-- comment -->                         <-- comment
   div
  </div>
  <td>
   table
  </td>
 </tr>
</table>
Attached file with comment
Attached file without comment
This looks like an issue with HandleSavedTokens.
Assignee: rickg → harishd
Wihtout a doubt it's

*** This bug has been marked as a duplicate of 40855 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Confirming. Verified dupe of bug 40855: "comment interpreted as <br> when inside
<table><center>"
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: