W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2006

[whatwg] 2.20.2 The command element - icon attribute

From: ROBO Design <robodesign@gmail.com>
Date: Thu, 02 Mar 2006 11:57:51 +0200
Message-ID: <op.s5r5ypk5mapogm@localhost.localdomain>
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  
purpose.

-- 
http://www.robodesign.ro
ROBO Design - We bring you the future
Received on Thursday, 2 March 2006 01:57:51 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:45 UTC