Closed Bug 191949 Opened 22 years ago Closed 20 years ago

different bullet color depending on whitespace between <UL> and <LI>

Categories

(Core :: DOM: HTML Parser, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 38174

People

(Reporter: jwz, Assigned: harishd)

Details

(Keywords: compat, testcase)

Attachments

(1 file)

If there is whitespace between UL and LI, then the bullets are drawn in the prevailing text foreground color (which is correct.) If there is no whitespace between UL and LI, then the bullets are drawn in the document's default foreground color (which is wrong.) Same is true of OL. Mozilla 1.2 Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2) Gecko/20021203 Linux 2.4.9-13smp #1 SMP Tue Oct 30 19:06:50 EST 2001 i686 unknown
Over to parser. In the first case we have the document tree: <ul> <font> <li> <font> While in the second it's: <ul> <li> <font> So this is a residual style propagation problem.... Jamie, the root problem here (apart from the parser bug) is that <font> cannot contain <ul> so you end up with weird hacks to get the colors to work while keeping containment sane....
Assignee: other → harishd
Component: Layout → Parser
QA Contact: ian → dsirnapalli
Keywords: compat, testcase
This was fixed by the checkin for bug 38174. Marking as a dupe. *** This bug has been marked as a duplicate of 38174 ***
Status: NEW → RESOLVED
Closed: 20 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: