Re: [whatwg] Figure without caption (was: Embedding Elements Should be Structured Inline-Level)

2007-03-14 Thread Bill Mason

Michel Fortin wrote:


Le 2007-03-14 ? 16:24, Lachlan Hunt a ?crit :

Even if figure were allowed to be used without legend, what would  
be the point?  That would be no better than just adding an  
extraneous wrapper div around the object just to work around the  
content model restrictions.


As a newcomer still working through the specification, it is not clear
to me that figure requires a legend.

The content model calls for exactly one legend element.  But then
several paragraphs later the text reads The first legend element child
of the element, if any

I think this part of the specification needs to more clearly state if
one legend element is required, or if zero is acceptable.


--
Bill Mason
Accessible Internet
[EMAIL PROTECTED]
http://accessibleinter.net/


Re: [whatwg] Figure without caption (was: Embedding Elements Should be Structured Inline-Level)

2007-03-14 Thread Simon Pieters
On Thu, 15 Mar 2007 01:19:40 +0100, Bill Mason  
[EMAIL PROTECTED] wrote:



Michel Fortin wrote:


Le 2007-03-14 ? 16:24, Lachlan Hunt a ?crit :

Even if figure were allowed to be used without legend, what would  be  
the point?  That would be no better than just adding an  extraneous  
wrapper div around the object just to work around the  content model  
restrictions.


As a newcomer still working through the specification, it is not clear
to me that figure requires a legend.

The content model calls for exactly one legend element.  But then
several paragraphs later the text reads The first legend element child
of the element, if any


You're confusing document conformance requirements and UA conformance  
requirements. The content model applies to documents. The later text you  
referred to applies to UAs. (UAs need to handle non-compliant content.)


The Conformance requirements section has the following note:

| Note: There is no implied relationship between document conformance
| requirements and implementation conformance requirements. User agents are
| not free to handle non-conformant documents as they please; the
| processing model described in this specification applies to
| implementations regardless of the conformity of the input documents.

--
Simon Pieters