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

divya manian divya.manian at gmail.com
Sun Mar 28 09:46:41 PDT 2010

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

More information about the whatwg mailing list