Re: [whatwg] Note on the DETAILS element

2009-09-02 Thread Jeremy Keith

Hixie wrote;

The text for  begins with a definition:


I assume you mean the text for .


Doh!

Yes, I did.


You win some, you lose some, I guess:

  http://www.brucelawson.co.uk/2009/html-5-is-a-mess/#comment-618892

I've moved the note to an example, so it's less misleading.


Thanks, much appreciated.

I figured that the genesis of that note was the comment thread on  
Bruce's post but it only makes sense in the context of H1+H2.


Ah well.

--
Jeremy Keith

a d a c t i o

http://adactio.com/




Re: [whatwg] Note on the DETAILS element

2009-09-01 Thread Ian Hickson
On Wed, 26 Aug 2009, Jeremy Keith wrote:
>
> The text for  begins with a definition:

I assume you mean the text for .

> "The hgroup element represents the heading of a section. The element is 
> used to group a set of h1–h6 elements when the heading has multiple 
> levels, such as subheadings, alternative titles, or taglines."
>
> But then has this note immediately afterwards:
> 
> "The point of hgroup is to mask an h2 element (that acts as a secondary 
> title) from the outline algorithm."
> 
> As far as I can tell, this is incorrect. The point of an hgroup is 
> actually to mask *all but one* heading element from the outline 
> algorithm.

You win some, you lose some, I guess:

   http://www.brucelawson.co.uk/2009/html-5-is-a-mess/#comment-618892

I've moved the note to an example, so it's less misleading.

Thanks,
-- 
Ian Hickson   U+1047E)\._.,--,'``.fL
http://ln.hixie.ch/   U+263A/,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

[whatwg] Note on the DETAILS element

2009-08-26 Thread Jeremy Keith

The text for  begins with a definition:

"The hgroup element represents the heading of a section. The element  
is used to group a set of h1–h6 elements when the heading has multiple  
levels, such as subheadings, alternative titles, or taglines."


But then has this note immediately afterwards:

"The point of hgroup is to mask an h2 element (that acts as a  
secondary title) from the outline algorithm."


As far as I can tell, this is incorrect. The point of an hgroup is  
actually to mask *all but one* heading element from the outline  
algorithm.


The note *does* apply to the examples provided:


Dr. Strangelove
Or: How I Learned to Stop Worrying and Love the Bomb


...but wouldn't be true in this case:


Dr. Strangelove
Or: How I Learned to Stop Worrying and Love the Bomb


In this case, the hgroup element is masking an h4 element (that acts  
as a secondary title) from the outline algorithm.


Even in cases where the hgroup *is* masking an h2, the note would  
still be incorrect because more heading elements can be hidden from  
the outline algorithm. e.g.:



Dr. Strangelove
Or: How I Learned to Stop Worrying and Love the Bomb
By Stanley Kubrick


The note would make sense if it were moved down to the examples and  
prefaced with "In this case..."


--
Jeremy Keith

a d a c t i o

http://adactio.com/