W3C home > Mailing lists > Public > public-html5spec@w3.org > September 2012

A Propusal for A New Pseudo Element :icon [via HTML5 Specifications Community Group]

From: Anas R. <anas.ram@gmail.com>
Date: Tue, 18 Sep 2012 08:17:55 +0000
To: public-html5spec@w3.org
Message-ID: <4d470f8a7ef16b4757827a5661801aad@www.w3.org>
Take a look to this HTML5 code as shown here: &lt;menu type="toolbar"&gt;
&lt;command type="radio" radiogroup="alignment" checked="checked" label="Left"
icon="icons/alL.png" onclick="setAlign('left')"&gt; &lt;command type="radio"
radiogroup="alignment" label="Center" icon="icons/alC.png"
onclick="setAlign('center')"&gt; &lt;command type="radio" radiogroup="alignment"
label="Right" icon="icons/alR.png" onclick="setAlign('right')"&gt; &lt;hr&gt;
&lt;command type="command" disabled label="Publish" icon="icons/pub.png"
onclick="publish()"&gt; &lt;/menu&gt; The question is: Isn’t icon="" attribute
here a presentation attribute? You might say yes, and it should be set using CSS
like this: command.align-right{icon: '....'} However, this presentation
attribute in [...]



----------

This post sent on HTML5 Specifications Community Group



'A Propusal for A New  Pseudo Element :icon'

http://www.w3.org/community/html5spec/2012/09/18/a-propusal-for-a-new-pseudo-element-icon/



Learn more about the HTML5 Specifications Community Group: 

http://www.w3.org/community/html5spec
Received on Tuesday, 18 September 2012 20:23:26 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 18 September 2012 20:23:26 GMT