W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2008

[whatwg] Kinds of Content

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Mon, 24 Nov 2008 13:47:00 +0100
Message-ID: <492AA244.7050202@lachy.id.au>
   All elements currently defined to be in the heading content category 
(h1-h6 and header) are also included within the flow content category. 
It seems that it would be easier and more consistent to state the 
definition of heading content that:

   All heading content is also flow content. Any content model that
   expects flow content also expects heading content.

And then remove "Flow content" from category lists for those elements, 
as it would be implied by "Heading content".

Additionally, to improve readability, it would be useful to add a note 
to the definition of flow content that it includes all of heading 
content, phrasing content and embedded content; and a similar note in 
the definition of phrasing content that it includes embedded content.

Finally, it would be useful if the spec eventually included some kind of 
diagram that illustrated the relationships between each of the categories.


Lachlan Hunt - Opera Software
Received on Monday, 24 November 2008 04:47:00 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:07 UTC