W3C home > Mailing lists > Public > public-html-xml@w3.org > January 2011

Re: [cowan@mercury.ccil.org: Questions about HTML void elements]

From: Robin Berjon <robin@berjon.com>
Date: Sat, 22 Jan 2011 15:55:46 +0100
Cc: Anne van Kesteren <annevk@opera.com>, public-html-xml@w3.org
Message-Id: <0C95C135-6ABB-4A4E-A0F8-B6A5C780D63C@berjon.com>
To: John Cowan <cowan@mercury.ccil.org>
On Jan 21, 2011, at 17:01 , John Cowan wrote:
> Anne van Kesteren scripsit:
>> It certainly looks appealing, but you still have to remember all the void 
>> elements anyway otherwise you might inadvertently insert content. And  
>> people will be get confused about what happens to <hr>TEST</hr> and such.
> If you try to put content inside an hr element, you either do not
> understand the hr element or do not understand what content is, so no
> rules simple or complicated will help you.

Well, you could notice that <path d='...'><title>Drawing of a pretty star</title></path> works, so why not expect <hr><title>Separate from the next chapter</title></hr> to work as well?

The simple rules are nice, but we have to acknowledge that they have limits, and remember what created those limits to avoid making even more of a mess going forward.

Robin Berjon - http://berjon.com/
Received on Saturday, 22 January 2011 14:56:18 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:58:27 UTC