[Webkit-unassigned] [Bug 8587] REGRESSION: {display:list-item} items outside an ol or ul element don't number correctly

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Mon Jul 17 14:41:27 PDT 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=8587





------- Comment #20 from hyperlekken at lenk.no  2006-07-17 14:41 PDT -------
(In reply to comment #18)
> > This markup isn't valid. Was that your purpose?
> 
> Sorry, I meant:  [...]

Case 3 in my  new test case file, shows your exampe as you probably meant it
(CSS wise). 

Hah, I see (and am reminded about) that IE displays Case 3 in this file
differently from released Safari, Opera and iCab [so what I write in the test
file is wrong]. In IE the last .listitem gets counted as number 3, while it in
the the other browsers gets counted  as number 2. Which means that IE even
counts the DIV-element without the .LISTITEM class. 

And, hence, if you do this,

<DIV><P>A<P>B<DIV class=listitem>B</DIV></DIV>

then IE6 will count the .listitem here as number 3 — because of the preceding
two block elements (the two P-elements). Which must be wrong, even if it is
possible to understand how it thinks ... 

At the same time, I guess this was in fact what your question was about. I
think I have answered as much as I am able to ... 


-- 
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list