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

Re: suggestion for abolition of <hgroup>

From: Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>
Date: Fri, 24 Dec 2010 10:20:22 +0100
To: Steve Faulkner <faulkner.steve@gmail.com>
Cc: James Graham <jgraham@opera.com>, Bruce Lawson <brucel@opera.com>, HTML WG <public-html@w3.org>
Message-ID: <20101224102022110323.71a74b65@xn--mlform-iua.no>
Leif Halvard Silli, Thu, 23 Dec 2010 19:06:56 +0100:
> Steve Faulkner, Wed, 22 Dec 2010 09:33:07 +0000:

>>> What happens if there is no non-subtitle heading?
>>> 
>>> <section>
>>> <h2 subtitle>I am having an identity crisis</h2>
>>> </section>
>> 
>> make
>> <h2 subtitle>I am having an identity crisis</h2>
>> 
>> without a previous sibling heading a conformance error and modify the
>> algorithm so it ignores the subtitle attribute if the heading it is on
>> does not have a previous sibling which is a heading
> 
> Sounds like a brilliant suggestion, Steve.

However, to handle the 'first from amongst those children with the 
highest rank' rule, the algorithm would have to be complicated so that 
it could replicate cases where the highest rank follows a lower rank:

<hgroup>
 <h2>I am having an identy crisis</h2>
 <h1>Main title</h2>
</hgroup>

I.e. whenever the next element is a heading of higher rank, then it 
would have to respect the subtitle attribute even when there is no 
previous sibling which is a heading.
-- 
leif halvard silli
Received on Friday, 24 December 2010 09:22:59 UTC

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