Closed Bug 12632 Opened 26 years ago Closed 26 years ago

<center> or <div> tags inside <font> tags cancel out the <font>

Categories

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

x86
Linux
defect

Tracking

()

VERIFIED DUPLICATE of bug 991

People

(Reporter: wtpooh, Assigned: rickg)

References

()

Details

In M9 (don't know about earlier versions) <center> or <div> tags inside <font> tags cancel out the <font>. When you put the <font> inside the <div>, it works. I am using M9, build 1999082414 on RH 5.2, glibc-2.1.1-6 Sample code (this is the same thing as at the URL submitted) <html> <FONT SIZE=-2><CENTER> This should be small, but center nested inside font makes it normal </CENTER> </FONT> <FONT COLOR="ff1493"><DIV> This should be red, but div nested inside font makes it black </DIV> </FONT> <CENTER> <FONT size=-2>Now the font is inside the center, so it is small</FONT> </CENTER> <DIV> <FONT COLOR="ff1493">Now the font is inside the div, so it is red</FONT> </DIV> </html>
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → DUPLICATE
*** This bug has been marked as a duplicate of 991 ***
Status: RESOLVED → VERIFIED
verified dup
You need to log in before you can comment on or make changes to this bug.