<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Ian Hickson wrote:
<blockquote
cite="mid:Pine.LNX.4.62.0906032232480.1648@hixie.dreamhostps.com"
type="cite">
<pre wrap="">On Mon, 13 Apr 2009, Markus Ernst wrote:
</pre>
<blockquote type="cite">
<pre wrap="">I found a message in the list archives from July 2004, where Ian
announced to put nested optgroups back into the spec:
<a class="moz-txt-link-freetext" href="http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2004-July/001200.html">http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2004-July/001200.html</a>
Anyway in the current spec, the optgroup element is not allowed inside
another optgroup element:
<a class="moz-txt-link-freetext" href="http://www.whatwg.org/specs/web-apps/current-work/#the-optgroup-element">http://www.whatwg.org/specs/web-apps/current-work/#the-optgroup-element</a>
Has this been removed again since 2004? I did not find more on this in
the list archives.
</pre>
</blockquote>
<pre wrap=""><!---->
Yeah, this was removed because we couldn't find a good way to get browsers
to support it without breaking backwards compatibility with legacy content
(which relies on the non-nesting parser behaviour).
</pre>
</blockquote>
Would there be a way to allow a new element to trigger this behavior
(maybe deprecating optgroup as well if an attribute on the new element
could indicate compactness)? Along the lines of expanding HTML more
toward regular applications, I would think this could help quite nicely
for building menu bars or the frequently used navigation bars
recommended by accessibility guidelines without JavaScript (CSS-only
ones are rare)...<br>
<br>
Brett<br>
</body>
</html>