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

Re: restrictions on blocks inside inlines (was Re: HTML5 Authoring Conformance Study)

From: Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>
Date: Mon, 22 Mar 2010 17:24:51 +0100
To: Maciej Stachowiak <mjs@apple.com>
Cc: "L. David Baron" <dbaron@dbaron.org>, HTMLwg WG <public-html@w3.org>
Message-ID: <20100322172451153894.d04bf8b0@xn--mlform-iua.no>
Maciej Stachowiak, Sun, 21 Mar 2010 20:39:44 -0700:
> On Mar 21, 2010, at 5:27 PM, Leif Halvard Silli wrote:

>> I did not say that <hn> was inline. Don't spread that rumour. ;-)
>> But when you say that <caption> is not an inline, then what do you base
>> that on? CSS?
>> According to HTML4 - and thus also according to XHTML1,
>> it is an inline.
> I was unable to find where HTML4 says the caption element is an 
> inline-level element (it does say that it may only have inline 
> children - which is a separate issue).

Ah. You are right. I am not clever at reading DTDs ... Sorry.

But then my questions about why <caption> may contain block level 
elements while <hn> may not, just becomes more relevant.
leif halvard silli
Received on Monday, 22 March 2010 16:25:26 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:45:13 UTC