[whatwg] Suggestion for Menus in Web Forms 2.0
Ian Hickson
ian at hixie.ch
Sun Aug 8 13:42:23 PDT 2004
On Sun, 8 Aug 2004, Matthew Raymond wrote:
>
> Aren't we all forgetting that the webmasters may want the menu to degrade
> into nothing on legacy browsers? Using the |label| attribute and <command>
> elements, that can be done. Without |label|, the label text appears regardless
> of whether the user can see the menu. You're effectively eliminating a
> graceful degradation option for the webmaster.
>
> If you want an element counterpart to |label|, that's fine. Something like
> "menutitle" or "menulabel" would be fine. However, we need to keep |label| for
> those who may not want the menus to show up on legacy browsers.
Exactly.
But how can you then style the label, that's my problem.
My only current idea is a pseudo-element, but a pseudo-element of a
display:none object is a dubious idea.
--
Ian Hickson U+1047E )\._.,--....,'``. fL
http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,.
Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
More information about the whatwg
mailing list