<?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>7084</bug_id>
          
          <creation_ts>2009-07-07 09:22:10 +0000</creation_ts>
          <short_desc>&lt;ul&gt;&lt;li&gt;A&lt;ul&gt;&lt;/li&gt;B is parsed backwards-incompatibly</short_desc>
          <delta_ts>2010-10-04 14:49:17 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>pre-LC1 HTML5 spec (editor: Ian Hickson)</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>NoReply</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Henri Sivonen">hsivonen</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>zcorpan</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>25883</commentid>
    <comment_count>0</comment_count>
    <who name="Henri Sivonen">hsivonen</who>
    <bug_when>2009-07-07 09:22:10 +0000</bug_when>
    <thetext>Gecko bug: https://bugzilla.mozilla.org/show_bug.cgi?id=502804

Per HTML5, &lt;ul&gt;&lt;li&gt;A&lt;iul&gt;&lt;/l&gt;B parses as:
ul
  li
    A
    ul
  B

For compat, it should parse as:
ul
  li
    A
    ul
      B</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25885</commentid>
    <comment_count>1</comment_count>
    <who name="Henri Sivonen">hsivonen</who>
    <bug_when>2009-07-07 09:30:46 +0000</bug_when>
    <thetext>s|&lt;ul&gt;&lt;li&gt;A&lt;iul&gt;&lt;/l&gt;B|&lt;ul&gt;&lt;li&gt;A&lt;ul&gt;&lt;/li&gt;B|</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26890</commentid>
    <comment_count>2</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2009-09-07 10:39:55 +0000</bug_when>
    <thetext>So &quot;li&quot; end tags should be scoped to something or other?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26892</commentid>
    <comment_count>3</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2009-09-07 10:47:50 +0000</bug_when>
    <thetext>HTML5 matches IE8 here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26893</commentid>
    <comment_count>4</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2009-09-07 10:57:03 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; So &quot;li&quot; end tags should be scoped to something or other?

Yes, ol and ul create a scope. When there&apos;s no &quot;li&quot; element in ol/ul scope, &quot;li&quot; end tags are ignored.

(Firefox and WebKit does the same with &lt;dd&gt;&lt;dl&gt;&lt;/dd&gt;x and WebKit with &lt;dt&gt;&lt;dl&gt;&lt;/dt&gt;x, but Opera does not. Have not tested IE for these. I&apos;m not aware of sites depending on one or the other for &lt;dl&gt;.)


(In reply to comment #3)
&gt; HTML5 matches IE8 here.

I think IE8 is not compatible with Web content here. This exact issue is pointed out as a compat problem in IE8 documentation, and IE8 doesn&apos;t do it in quirks or compat view modes. I think from Opera&apos;s point of view, the specified behavior is WONTIMPLEMENT for Web compat reasons.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26894</commentid>
    <comment_count>5</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2009-09-07 10:59:24 +0000</bug_when>
    <thetext>(IE7 and IE8 in quirks and compat view modes always ignore &quot;li&quot; end tags.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26895</commentid>
    <comment_count>6</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2009-09-07 11:09:07 +0000</bug_when>
    <thetext>Ok...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>33134</commentid>
    <comment_count>7</comment_count>
    <who name="Maciej Stachowiak">mjs</who>
    <bug_when>2010-03-14 14:48:24 +0000</bug_when>
    <thetext>This bug predates the HTML Working Group Decision Policy.

If you are satisfied with the resolution of this bug, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
  http://dev.w3.org/html5/decision-policy/decision-policy.html

This bug is now being moved to VERIFIED. Please respond within two weeks. If this bug is not closed, reopened or escalated within two weeks, it may be marked as NoReply and will no longer be considered a pending comment.
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>