On Dec 15, 2010, at 23:10, James Clark wrote:
> > (a) Allowing something like <br></br>
>
> There's legacy content that looks "wrong" if that doesn't render as two line breaks.
>
> > (b) Allowing something like <a/>
>
> There's legacy content that looks "wrong" if that's treated as an empty element.
>
> And this legacy content starts with "<!DOCTYPE html>"?
We want to minimize variation between modes. More modes leads to more code and testing. Unfortunately, there's one mode-dependent parsing behavior:
http://hsivonen.iki.fi/last-html-quirk/
--
Henri Sivonen
http://hsivonen.iki.fi/