W3C home > Mailing lists > Public > public-html@w3.org > January 2009

[Bug 6390] New: Add a note about reaching after head state and the fragment mode

From: <bugzilla@wiggum.w3.org>
Date: Tue, 13 Jan 2009 17:47:26 +0000
To: public-html@w3.org
Message-ID: <bug-6390-2495@http.www.w3.org/Bugs/Public/>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=6390

           Summary: Add a note about reaching after head state and the
                    fragment mode
           Product: HTML WG
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Spec proposals
        AssignedTo: dave.null@w3.org
        ReportedBy: hsivonen@iki.fi
         QAContact: public-html-bugzilla@w3.org
                CC: ian@hixie.ch, mike@w3.org, public-html@w3.org


In after head state, there's this:
"Push the node pointed to by the head element pointer onto the stack of open
elements."

The possibility of the pointer being null is not covered. I have older code
that deals with the null case, because earlier the spec pushed the head pointer
onto the stack in more cases. 

To save the trouble of implementors reasoning about the characteristics of the
algorithm, it would be nice to add a note that the after head state cannot be
reached in the fragment mode and, thus, the pointer cannot be null.


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Tuesday, 13 January 2009 17:47:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:28 GMT