<?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>23664</bug_id>
          
          <creation_ts>2013-10-28 23:16:43 +0000</creation_ts>
          <short_desc>This line should probably read &quot;Loop: If node is the first node in the stack of open elements, then set last to true, and if fragment case then set node to the context element.&quot; The context element on [...]</short_desc>
          <delta_ts>2013-11-18 23:34:49 +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>FIXED</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#the-stack-of-open-elements</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>ian</cc>
    
    <cc>mike</cc>
    
    <cc>wchen</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>95491</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2013-10-28 23:16:43 +0000</bug_when>
    <thetext>Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/parsing.html
Multipage: http://www.whatwg.org/C#the-stack-of-open-elements
Complete: http://www.whatwg.org/c#the-stack-of-open-elements
Referrer: http://www.whatwg.org/specs/web-apps/current-work/multipage/tree-construction.html

Comment:
This line should probably read &quot;Loop: If node is the first node in the stack
of open elements, then set last to true, and if fragment case then set node to
the context element.&quot; The context element only makes sense in the fragment
case and not defined otherwise. It is possible to run into this problem when
parsing &quot;&lt;head&gt;&lt;/head&gt;&lt;template&gt;&lt;/template&gt;&quot;.

Posted from: 63.245.219.53
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:25.0) Gecko/20100101 Firefox/25.0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95492</commentid>
    <comment_count>1</comment_count>
    <who name="William Chen">wchen</who>
    <bug_when>2013-10-28 23:20:59 +0000</bug_when>
    <thetext>This issue refers to Step 3 of the &quot;reset the insertion mode appropriately&quot; algorithm.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96474</commentid>
    <comment_count>2</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2013-11-18 23:34:00 +0000</bug_when>
    <thetext>Sorry it took me so long to fix this. I try to be quicker with parser bugs but this one went under my radar for some reason.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96475</commentid>
    <comment_count>3</comment_count>
    <who name="">contributor</who>
    <bug_when>2013-11-18 23:34:49 +0000</bug_when>
    <thetext>Checked in as WHATWG revision r8293.
Check-in comment: The &apos;reset the insertion mode&apos; algorithm referenced the context element in some cases where there was no context element (e.g. &apos;&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;template&gt;&lt;/template&gt;&apos;)
http://html5.org/tools/web-apps-tracker?from=8292&amp;to=8293</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>