W3C home > Mailing lists > Public > public-html@w3.org > December 2010

Re: suggestion for abolition of <hgroup>

From: James Clark <jjc@jclark.com>
Date: Fri, 24 Dec 2010 10:53:38 +0700
Message-ID: <AANLkTikTXTRBGkioj7XGJmPCL8WXA1jEtCYDj22h2+j+@mail.gmail.com>
To: HTML WG <public-html@w3.org>
I'm new here, so apologise if this point has been made before.

The aspect of <hgroup> that I suspect will cause problems is the mechanism
for identifying the child of the <hgroup> that is the main heading (ie the
one that contributes to the outline).  The problem is that you are often
going to want to treat this child specially, eg for styling or for
transformations, and the rules that the spec describes for identifying this
child are relatively complex -- the first from amongst those children with
the highest rank. In particular, I can't think of a way to write a CSS
selector for this, and the only ways I can think of to write an XPath
expression for this are very hairy.

James
Received on Friday, 24 December 2010 03:54:10 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:16:07 UTC