W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2011

[whatwg] abbr inside of option

From: Jens O. Meiert <jens@meiert.com>
Date: Thu, 28 Apr 2011 15:32:46 -0700
Message-ID: <BANLkTikWAUkC__k1OYuO6p0L00zkG3bm8g@mail.gmail.com>
> > Just curious: What is the reasoning behind the option element not being
> > able to contain abbr elements?
> What problem would this solve?

I think this question came up a few times, also in the context of the
?title? element; to try a very quick abstraction, it seems logical
that the content model of every non-void HTML element (with the only
exception of form elements?) should allow (most) phrasing content.

Having asked the question too for ?title? at some point the reasoning
is that you could not express the meaning of these elements? contents
otherwise. Or, why should ?<h1><abbr>HTML</abbr></h1>? be acceptable
but ?<title><abbr>HTML</abbr></title>? not be permitted?in both cases,
?HTML? is an abbreviation. (No need to explain the situation around
the ?title? element again, I just like the example.)

Jens O. Meiert
Received on Thursday, 28 April 2011 15:32:46 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:05 UTC