W3C home > Mailing lists > Public > www-dom@w3.org > October to December 2011

Re: compatMode and the HTML parsing algorithm

From: Simon Pieters <simonp@opera.com>
Date: Tue, 04 Oct 2011 20:15:14 +0200
To: "www-dom@w3.org" <www-dom@w3.org>, "David Flanagan" <dflanagan@mozilla.com>
Message-ID: <op.v2uabontidj3kv@simon-pieterss-macbook.local>
On Tue, 04 Oct 2011 19:29:50 +0200, David Flanagan <dflanagan@mozilla.com>  

> One use case allowing HTML parsers in JS would be creating parser shims  
> for old browsers that do not parse HTML correctly.

I guess old browsers generally aren't fast enough for this to be viable in  
the real world.

> Or perhaps for writing utilities like  
> http://software.hixie.ch/utilities/js/live-dom-viewer/ that compare a  
> browser's parse tree with the parse tree generated by a compliant parser.

You don't need quirks mode for that.


Simon Pieters
Opera Software
Received on Tuesday, 4 October 2011 18:15:08 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:36:59 UTC