Closed Bug 30487 Opened 26 years ago Closed 26 years ago

Erroneous close font tag inside table affects entire document

Categories

(Core :: Layout, defect, P2)

x86
Linux
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: bbehm, Assigned: harishd)

References

()

Details

(Whiteboard: [nsbeta3+][Fix in hand])

Attachments

(4 files)

When there are too many </FONT> tags in a table, the font face for the entire document is affected. I believe this is erroneous behavior : the <BODY> should not inherit font attributes from its children. I originally saw this on the C|Net story above, but I've boiled it down into a specific testcase for your perusal.
I don't think this is a bug. As far as I can tell, Mozilla handles the testcase right: For the text below the table, the first FONT tag, but not the second <FONT size="-1"> is in effect, isnce that has been closed inside the table. I didn't find anything in the HTML spec that says you can't close a FONT tag inside a table. You are right, however, in that NS 4.7 ignores the second closing </FONT> tag in the table, and gives the same style to the text before and after the table. This might be a compatibility issue worth looking into.
Status: UNCONFIRMED → NEW
Ever confirmed: true
This bug is legit for compatibility reasons.
Status: NEW → ASSIGNED
*** Bug 30483 has been marked as a duplicate of this bug. ***
Target Milestone: --- → M17
Target Milestone: M17 → M18
Moving to my list since Rickg is on sabbatical.
Assignee: rickg → harishd
Status: ASSIGNED → NEW
CNet page looks whacky. This got to be fixed for beta3.
Status: NEW → ASSIGNED
Keywords: nsbeta3
Whiteboard: Fix in hand
Marking nsbeta3+...
Whiteboard: Fix in hand → [nsbeta3+][Fix in hand]
Setting priroity to P2
Priority: P3 → P2
Fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Verified in the Aug 24th build.
Status: RESOLVED → VERIFIED
SPAM. HTML Element component deprecated, changing component to Layout. See bug 88132 for details.
Component: HTML Element → Layout
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: