Re: [whatwg] Question about header and footer

2010-01-12 Thread Lachlan Hunt

Bruce Lawson wrote:

Is it permissible for one element to have more than one child headers, or
more than one child footers?


Yes.


And, if is permissible, should it be?


Unless we have a very good reason, I don't think we should start placing 
arbitrary restrictions on how elements can be used.  In fact, there's a 
very good reason to allow footers to be used more than once per section, 
as illustrated by the first footer element example in the spec.  I don't 
believe it's a problem for multiple headers either as the sectioning 
algorithm will create implied sections from the headings anyway.


--
Lachlan Hunt - Opera Software
http://lachy.id.au/
http://www.opera.com/


Re: [whatwg] Question about header and footer

2010-01-12 Thread Bruce Lawson
On Tue, 12 Jan 2010 09:19:04 -, Lachlan Hunt  
lachlan.h...@lachy.id.au wrote:



Bruce Lawson wrote:
Is it permissible for one element to have more than one child headers,  
or

more than one child footers?


Yes.


And, if is permissible, should it be?


Unless we have a very good reason, I don't think we should start placing  
arbitrary restrictions on how elements can be used.  In fact, there's a  
very good reason to allow footers to be used more than once per section,  
as illustrated by the first footer element example in the spec.  I don't  
believe it's a problem for multiple headers either as the sectioning  
algorithm will create implied sections from the headings anyway.


Makes sense. Thanks Lachy.

b


--
Hang loose and stay groovy,

Bruce Lawson
Web Evangelist
www.opera.com (work)
www.brucelawson.co.uk (personal)
www.twitter.com/brucel


[whatwg] Question about header and footer

2010-01-11 Thread Bruce Lawson

Is it permissible for one element to have more than one child headers, or
more than one child footers?

And, if is permissible, should it be?



Bruce Lawson
www.brucelawson.co.uk
-

sent from my ZX80