[Bug 9582] New: Steps for handling end tags in the "in foreign" mode get stuck in an infinite loop

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

           Summary: Steps for handling end tags in the "in foreign" mode
                    get stuck in an infinite loop
           Product: HTML WG
           Version: unspecified
          Platform: PC
               URL: http://html5.org/tools/web-apps-tracker?from=4802&to=4
                    803
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5 spec bugs
        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 the text added in rev 4803, the step
"Set node to the previous entry in the stack of open elements."
is not a sufficient advancement to make the loop terminate when node becomes a
node that has already been popped by the secondary insertion mode in the
previous iteration. To make things advance, it is necessary to jump right back
to the "Loop:" label in that case.

Or more importantly, you might want to abort processing the end tag if
insertion mode is no longer "in foreign".

-- 
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 Thursday, 22 April 2010 14:45:54 UTC