Closed Bug 29626 Opened 25 years ago Closed 25 years ago

residual style bug? after </font> and <font>, </i> ignored and italics run on

Categories

(Core :: CSS Parsing and Computation, defect, P3)

x86
Windows NT
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: ekrock, Assigned: rickg)

References

()

Details

(Keywords: testcase, Whiteboard: [TESTCASE])

Attachments

(1 file)

Using Commercial 2/28 (which reports itself as Build ID 1999122808) on WinNT 4.0 SP4, a </i> is ignored, causing the italic text property to propagate all the way to the end of the document. I suspect this is caused by an erroneous residual style correction. The source HTML is a mess. Here's the key section from the simplified test case I'll attach: <font face="Arial, Helvetica" size="2"> <p>where <ul> <li> <i></font><tt>EventTarget</tt><font face="Arial, Helvetica" size="2"></i> is a reference</li> Somehow it's forgetting about that </i>, causing "is a reference" (and the entire rest of the original document) to be italicized. This doesn't happen on Nav4.
Keywords: 4xp
Attached file simplified testcase
Marking [TESTCASE] and testcase keyword (as BugAThon's in transition).
Keywords: testcase
Whiteboard: [TESTCASE]
This bug appeared in build 2000-02-28-08. It did not exist in 2000-02-25-12 where the rendering was identical to Nav4 (ie. nothing in italic). Reassigned to rickg to re-evaluate his checkins from 02/25 22:14 in htmlparser, especially the one in CNavDTD.cpp: http://bonsai.mozilla.org/cvsview2.cgi?diff_mode=context&whitespace_mode=show& subdir=mozilla/htmlparser/src&command=DIFF_FRAMESET&file=CNavDTD.cpp&rev1=3.267& rev2=3.268&root=/cvsroot Note that I did not try to back out this checkin in my local tree to see if it would fix the problem. It's just a guess.
Assignee: pierre → rickg
Hmm -- let me take a look.
Status: NEW → ASSIGNED
The problem sequence is: <b><i></b>text<u></i>text. Arg.
Target Milestone: M15
I have a fix in hand, for what it's worth.
PDT team granted PDT+ status to this on Thursday; a=jar.
Whiteboard: [TESTCASE] → [PDT+][TESTCASE]
Actually -- I meant to imply that this is a dupe of 3944, which the PDT team approved on thursday.
Actually -- I meant to imply that this is a dupe of 3944, which the PDT team approved on thursday.
Whiteboard: [PDT+][TESTCASE] → [TESTCASE]
Fixed as side effect of bug 3944 -- improvement to cnavdtd::closecontainersTo().
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Using 08_09_08_m18 build, verified fixed.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: