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

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 the QA contact for the bug.

Received on Tuesday, 13 January 2009 17:47:35 UTC