[Webkit-unassigned] [Bug 8587] REGRESSION: {display:list-item} on items outside an ol or ul element no longer causes incremental numbering

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Sun Jul 16 17:40:33 PDT 2006


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





------- Comment #16 from hyperlekken at lenk.no  2006-07-16 17:40 PDT -------
(In reply to comment #14)

> OK. If you want me to fix this right, could you provide some test cases?

Se the new test case I attached.  (FWIW I have also edited my original page (on
my original URL) so that it includes two nested DIVs with the listitem class
inside the first listitem DIV.  )

>  For example, how should this be numbered?
> 
>     <div>
>         <div class="listitem">a</div>
>         <div>
>             <div class="listitem">b</div>
>         <div>
>         <div class="listitem">c</div>
>     </div>

This markup isn't valid. Was that your purpose? I am not Ian Hixie. I would not
take upon myself the responsibilty for explaining error handeling ... ;-) If
however you meant what I have demoed in my new test file - namely this:

<DIV>
<DIV><DIV class=LISTITEM>a</DIV></DIV>
<DIV><DIV class=LISTITEM>b</DIV></DIV>
<DIV><DIV class=LISTITEM>c</DIV></DIV>
</DIV>

then I would say that each .LISTITEM here should have number 1, because they
are in fact 3 independent lists. (Of course, if you add .LISTITEMs one after
another [like in my test case], they should be numbered #1, #2 - however.) In
the new test case, the second level DIVs are considered a first level list,
while the third level of DIVs (with the .listitem class) are second level (and
in in lower-alpha) lists. 

> And what about when tables are involved?

Sounds tricky.  In my new test file, I inserted two TABLEs with the .listitem
class. These tables are then counted just like the DIVs with the same class (in
iCab, IE, Opera and released Safari). Is that what you meant?


-- 
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