W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > April 2010

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

From: <bugzilla@jessica.w3.org>
Date: Thu, 22 Apr 2010 14:45:23 +0000
To: public-html-bugzilla@w3.org
Message-ID: <bug-9582-2486@http.www.w3.org/Bugs/Public/>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 22 April 2010 14:45:55 GMT