W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > December 2012

[Bug 20201] polyglot markup and extensions via <script> (and <style>)

From: <bugzilla@jessica.w3.org>
Date: Mon, 03 Dec 2012 10:09:17 +0000
To: public-html-bugzilla@w3.org
Message-ID: <bug-20201-2486-nfyOetMUfI@http.www.w3.org/Bugs/Public/>

Jirka Kosek <jirka@kosek.cz> changed:

           What    |Removed                     |Added
                 CC|                            |jirka@kosek.cz

--- Comment #1 from Jirka Kosek <jirka@kosek.cz> ---
(In reply to comment #0)

> So can this method be used in polyglot markup? 

No, it can't. Design goal of polyglot is to produce same DOM when content is
parser by either XML or HTML parser. HTML parser produces one text node from
the content of <script> element even if the content is XML fragment. XML parser
will parse content of <script> as any other element producing correct DOM
subtree from XML fragment.

You are receiving this mail because:
You are the QA Contact for the bug.
Received on Monday, 3 December 2012 10:09:29 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 16:31:35 UTC