[webkit-dev] New feature: Implement command API in webkit

Ian Hickson ian at hixie.ch
Wed Nov 23 23:38:45 PST 2011

On Tue, 22 Nov 2011, Ryosuke Niwa wrote:
> For example, I'm not sure if command's state should be directly tied 
> with the element that defines a command.

What else would it be tied to?

> Also it seems odd that an element that defines commands can be a part of 
> UI.

The current model allows both visible elements to be used as commands, and 
invisible elements (<command>). It's set up so that we can introduce an 
attribute in the near future to make the <command> definitions propagate 
state to the elements used in the UI.

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

More information about the webkit-dev mailing list