W3C home > Mailing lists > Public > www-style@w3.org > March 2007

RE: [CSS21] Make XHTML <body> magic just like HTML <body>

From: Peter Sorotokin <psorotok@adobe.com>
Date: Wed, 7 Mar 2007 11:41:34 -0800
Message-ID: <40CE68F1F8CAFB48B998C328517EA92A01704278@namail2.corp.adobe.com>
To: "Patrick H. Lauke" <redux@splintered.co.uk>, <www-style@w3.org>

It is not a question of a fashion. In many cases authors move to XHTML
because they have to. For instance, some eBook specs mandate XHTML and
not HTML. And XHTML does offer at least some advantages (like being able
to reliably process your content with an off-the-shelf XML parser), so
people do have legitimate reasons to switch.

What is the purpose of making this different for XHTML and HTML anyway?
I can kinda understand it for the table cell allocation algorithm, but
not for the body element.


-----Original Message-----
From: www-style-request@w3.org [mailto:www-style-request@w3.org] On
Behalf Of Patrick H. Lauke
Sent: Wednesday, March 07, 2007 11:07 AM
To: www-style@w3.org
Subject: Re: [CSS21] Make XHTML <body> magic just like HTML <body>

Simon Pieters wrote:
> Having special rules for <body> in HTML but not in XHTML makes it
> for authors to switch to and from XHTML.
> There are lots and lots of pages that rely on the magicness in HTML.
> it can't be removed from HTML.
> There are very few XHTML pages on the Web. Some of them might look 
> incorrect because the author thought the <body> was magic, but it

To be hardline, though: authors that do not understand these types of 
differences between XHTML and HTML should not switch, then. If they get 
caught out by the non-magic behaviour of <body>, then they're probably 
(and I'll make a sweeping generalisation) the types of authors that 
don't quite know why they should be moving to XHTML in the first place 
and are only doing it because "it's fashionable" nowadays.

Patrick H. Lauke
re*dux (adj.): brought back; returned. used postpositively
[latin : re-, re- + dux, leader; see duke.]
www.splintered.co.uk | www.photographia.co.uk
Web Standards Project (WaSP) Accessibility Task Force
Received on Wednesday, 7 March 2007 19:42:01 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:28 UTC