[XML-DEV Mailing List Archive Home]
[Reply To This Message]
- From: James Clark <email@example.com>
- To: Henri Sivonen <firstname.lastname@example.org>
- Date: Thu, 16 Dec 2010 14:50:36 +0700
On Thu, Dec 16, 2010 at 2:15 PM, Henri Sivonen <email@example.com> wrote:
On Dec 15, 2010, at 23:10, James Clark wrote:We want to minimize variation between modes. More modes leads to more code and testing. Unfortunately, there's one mode-dependent parsing behavior:
> > (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>"?
So the heart of the issue is what is the relative priority as between
(a) reducing variation between modes
(b) having standards mode behave in a reasonable way
HTML5 has given absolute priority to (a). I think there is scope for reasonable people (especially those not associated with browser vendors) to disagree with that priority.
Your link was very interesting. Back in April 2009, both Gecko and WebKit ignored </br> in standards mode. Now, thanks to HTML5, they interpret it as a break.
Is it now the case that in a modern HTML5-compliant browser the only effect of putting <!DOCTYPE html> at the beginning is the last quirk you mention (<table> ending a <p>)?
| [Thread Prev]
| [Thread Next]
| [Date Next]
| [Thread Index]
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format
Stylus Studio has published XML-DEV in RSS and ATOM formats,
enabling users to easily subcribe to the list from their preferred news reader application.
Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website.
they were not included by the author in the initial post. To view the content without the Sponsor Links please