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

Take a look to this HTML5 code as shown here: <menu type="toolbar">
<command type="radio" radiogroup="alignment" checked="checked" label="Left"
icon="icons/alL.png" onclick="setAlign('left')"> <command type="radio"
radiogroup="alignment" label="Center" icon="icons/alC.png"
onclick="setAlign('center')"> <command type="radio" radiogroup="alignment"
label="Right" icon="icons/alR.png" onclick="setAlign('right')"> <hr>
<command type="command" disabled label="Publish" icon="icons/pub.png"
onclick="publish()"> </menu> 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 UTC