W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2004

[whatwg] Re: several messages

From: Lachlan Hunt <lachlan.hunt@iinet.net.au>
Date: Fri, 02 Jul 2004 01:11:23 +1000
Message-ID: <40E4299B.8010208@iinet.net.au>
Ian Hickson wrote:
> I intend to say that the content model of the <datalist> element is the
> same as the content model of its parent...

   How do you intend to enforce such a rule within the DTD?  AFAIK, 
there is no way to specify different content models based on the 
elements parent.  Basically, for that to work, it would need to have the 
same content model as <div>, which can contain almost anything, but then 
there would no way to restrict the content when <datalist> appeared 
within a <p>, for example.

-- 
Lachlan Hunt

http://www.lachy.id.au/
lachlan.hunt at lachy.id.au
Received on Thursday, 1 July 2004 08:11:23 UTC

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