<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>17633</bug_id>
          
          <creation_ts>2012-06-28 17:54:48 +0000</creation_ts>
          <short_desc>Should ordered list numbering consider list items in child blocks?</short_desc>
          <delta_ts>2013-10-22 22:13:51 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>HTML</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>17632</dup_id>
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#the-ol-element</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>bzbarsky</cc>
    
    <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>Ms2ger</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>69502</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2012-06-28 17:54:48 +0000</bug_when>
    <thetext>Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html
Multipage: http://www.whatwg.org/C#the-ol-element
Complete: http://www.whatwg.org/c#the-ol-element

Comment:
Should ordered list numbering consider list items in child blocks?

Posted from: 98.110.194.72 by bzbarsky@mit.edu
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:16.0) Gecko/16.0 Firefox/16.0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69503</commentid>
    <comment_count>1</comment_count>
    <who name="Boris Zbarsky">bzbarsky</who>
    <bug_when>2012-06-28 17:56:43 +0000</bug_when>
    <thetext>Consider this testcase:

&lt;ol&gt;
  &lt;div&gt;&lt;li&gt;One&lt;/li&gt;&lt;/div&gt;
  &lt;li&gt;Two&lt;/li&gt;
  &lt;li&gt;Three&lt;/li&gt;
&lt;/ol&gt;

This is numbered &quot;1, 2, 3&quot; by Gecko, WebKit, IE7 and before, and IE quirks mode.

It&apos;s numbered &quot;1, 1, 2&quot; by IE8 and IE9 standards modes and Presto.

I&apos;m pretty sure that at least for quirks mode pages depend on this behavior.  I would also somewhat prefer that the behavior here not depend on mode...

Note that for &lt;ol reversed&gt; this also raises the question of how the start value is computed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69508</commentid>
    <comment_count>2</comment_count>
    <who name="Ms2ger">Ms2ger</who>
    <bug_when>2012-06-28 18:38:13 +0000</bug_when>
    <thetext>http://w3c-test.org/html/tests/submission/Ms2ger/rendering/TODO-lists.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70993</commentid>
    <comment_count>3</comment_count>
    <who name="">contributor</who>
    <bug_when>2012-07-18 17:53:02 +0000</bug_when>
    <thetext>This bug was cloned to create bug 18263 as part of operation convergence.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>72648</commentid>
    <comment_count>4</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2012-08-23 21:12:15 +0000</bug_when>
    <thetext>There&apos;s two questions here really.

What the semantic number of the list items is, and what the rendered number is. For conforming documents in the absence of CSS, they should match.

For the non-conforming cases, I don&apos;t really care if they match. Ideally I&apos;d like to define the rendering purely in terms of CSS, but CSS doesn&apos;t yet support the logic for &quot;reverse&quot;. Semantically, I&apos;m fine with the &lt;div&gt; subtree being ignored and the nodes being &quot;1&quot; and &quot;2&quot;.

I&apos;m not sure what to do in the meantime.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77464</commentid>
    <comment_count>5</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2012-10-30 22:25:22 +0000</bug_when>
    <thetext>I&apos;m going to mark this as a dupe of bug 17632, &quot;Define rendering of &lt;li&gt; elements in terms of CSS&quot;.

*** This bug has been marked as a duplicate of bug 17632 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>