[whatwg] 2.20.2 The command element - icon attribute

ROBO Design robodesign at gmail.com
Thu Mar 2 01:57:51 PST 2006

On Thu, 02 Mar 2006 09:18:18 +0200, Matthew Raymond  
<mattraymond at earthlink.net> wrote:

> ROBO Design wrote:
>    I think the idea is that the <command> element is defining the icon
> to appear for any element that has a |command| attribute defined. That
> said, you could probably replace it with the following CSS:
> | command#myID::before, *[command="myID"]::before {
> |   content: url(icon.png);
> | }
>    So, I guess I'm inclined to agree with you...

Yes, exactly. Icons can be added today to any element in various ways.

I simply don't see the need for the icon attribute, as a semantical  

ROBO Design - We bring you the future

More information about the whatwg mailing list