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

[Bug 10115] EOF handling in foreign content needs to change the insertion mode

From: <bugzilla@jessica.w3.org>
Date: Thu, 08 Jul 2010 22:29:52 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1OWzbM-0001w4-VR@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=10115





--- Comment #2 from Eric Seidel <eric@webkit.org>  2010-07-08 22:29:52 ---
This is what I've done for now:

    case InForeignContentMode:
        parseError(token);
        // FIXME: This would infinite loop otherwise, for now, violate the
spec.
        // http://www.w3.org/Bugs/Public/show_bug.cgi?id=10115
        HTMLElementStack::ElementRecord* record =
m_tree.openElements()->topRecord();
        for (; record; record = record->next())
            if (record->element()->namespaceURI() == xhtmlNamespaceURI)
                break;
            m_tree->openElements()->pop();
        }
        processEndOfFile(token);
        break;

-- 
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, 8 July 2010 22:29:54 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 16:30:51 UTC