- From: Charles McCathie Nevile <chaals@yandex-team.ru>
- Date: Thu, 21 Mar 2013 12:08:30 +0100
- To: "Bruce Lawson" <brucel@opera.com>, "Steve Faulkner" <faulkner.steve@gmail.com>
- Cc: public-html@w3.org
On Thu, 21 Mar 2013 11:58:38 +0100, Steve Faulkner <faulkner.steve@gmail.com> wrote: > hi bruce Hi Bruce, glad to see the true sexy-master has entered the division... >> I once asked this (or something like it). I was told we shouldn't, as a >> site might Ajax in a heading and some text. > > the possible addition of content via scripting could be a reason for > allowing a number of currently non conforming markup patterns I would go the other way around. If you have an interim template that is invalid, that's no big deal. When you have scrubbed it all and got something clean, which is what you show to the user, it should be valid. "Disallowing" something means declaring that it is not valid HTML. It isn't like it stops many people from doing it, it just provides a guide to those who care about what they are doing, and want some help to get it right. People who know how to ajax in the magic they need are presumably capable of determining whether the final result is valid on their own. So if an intermediate step is invalid they probably decided they could live with that, or their tools could, or they couldn't care less - in other words the validity constraint there isn't important to them. Cheers Chaals > is there any concrete examples where this may be an issue? > > with regards > > -- > SteveF > HTML 5.1 <http://www.w3.org/html/wg/drafts/html/master/> > <http://www.paciellogroup.com/resources/wat-ie-about.html> > > > On 21 March 2013 10:32, Bruce Lawson <brucel@opera.com> wrote: > >> On Thu, 21 Mar 2013 10:02:24 -0000, Robin Berjon <robin@w3.org> wrote: >> >> I've therefore been wondering: would it make sense to make section >>> invalid if it does not have heading content as its direct children? Put >>> differently, what are the use cases for a headless section? >>> >> >> I once asked this (or something like it). I was told we shouldn't, as a >> site might Ajax in a heading and some text. >> >> >> -- >> >> >> Bruce Lawson >> Open standards evangelist >> Developer Relations Team >> Opera >> >> http://dev.opera.com >> >> -- Charles McCathie Nevile - Consultant (web standards) CTO Office, Yandex chaals@yandex-team.ru Find more at http://yandex.com
Received on Thursday, 21 March 2013 11:09:07 UTC