W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2007

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

From: Simon Pieters <zcorpan@gmail.com>
Date: Thu, 15 Mar 2007 01:28:05 +0100
Message-ID: <op.to7fk3fd7a8kvn@hp-a0a83fcd39d2>
On Thu, 15 Mar 2007 01:19:40 +0100, Bill Mason  
<whatwg at accessibleinter.net> 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
Received on Wednesday, 14 March 2007 17:28:05 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:53 UTC