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

[whatwg] Why is the legend element not categorized as flow content?

From: divya manian <divya.manian@gmail.com>
Date: Sun, 28 Mar 2010 09:46:41 -0700
Message-ID: <40fb5ba21003280946k4b7de90o8c80c19a2391360b@mail.gmail.com>
Hi everyone

I am trying to understand when an element can have flow content
defined in the spec [1]. The general rule states:

"should have either at least one descendant text node that is not
inter-element whitespace, or at least one descendant element node that
is embedded content"

It also states "Most elements that are used in the body of documents
and applications are categorized as flow content." and gives a list of

I was curious to know what elements are not categorized so and found
legend element[2] did not figure in the list. It is listed under
phrasing content like i, strong, label and em (but all these are flow
elements as well). Is there a reason why legend does not figure on
that list?

Also, since the spec states most elements are categorized as flow
content, would it not be better to state what elements are NOT flow


[1] http://www.whatwg.org/specs/web-apps/current-work/multipage/content-models.html#flow-content-0

[2] http://www.whatwg.org/specs/web-apps/current-work/multipage/forms.html#the-legend-element
Received on Sunday, 28 March 2010 09:46:41 UTC

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