[Bug 11909] The principles of Polyglot Markup - validity? well-formed? DOM-equality?

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

--- Comment #10 from Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no> 2011-02-01 06:16:12 UTC ---
I would suggest the DOCTYPE princple to be expresss roughly like this:

]] Enumerating the DOCTYPE use options:
* All DOCTYPEs that the HTML5 text/html syntax rules considers 
  conforming (<!DOCTYPE html SYSTEM="about:legacy-compat"> and 
  <!DOCTYPE html> and, inside @srcdoc, no DOCTYPE.)
* Any _XHTML_ DOCTYPEs that HTML5 text/html syntax defines as 
  obsolete but conforming;
* Any _XHTML_ DOCTYPE that, following HTML5's text/html parsing 
  rules, results in no-quirks mode. [[

All the above doctypes are considered polyglot.

-- 
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, 1 February 2011 06:16:16 UTC