Re: compatMode and the HTML parsing algorithm

On Tue, 04 Oct 2011 19:29:50 +0200, David Flanagan <dflanagan@mozilla.com>  
wrote:

> 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.

http://livedom.validator.nu/

-- 
Simon Pieters
Opera Software

Received on Tuesday, 4 October 2011 18:15:08 UTC