- From: Charles Pritchard <chuck@jumis.com>
- Date: Sat, 3 Sep 2011 14:13:21 -0700
- To: Ian Hickson <ian@hixie.ch>
- Cc: Anne van Kesteren <annevk@opera.com>, Dimitri Glazkov <dglazkov@chromium.org>, WebApps WG <public-webapps@w3.org>, Dominic Cooney <dominicc@chromium.org>, Alex Russell <alex@dojotoolkit.org>
On Sep 3, 2011, at 12:08 PM, Ian Hickson <ian@hixie.ch> wrote: > On Fri, 2 Sep 2011, Anne van Kesteren wrote: >> >> What we need is not a becomes="" attribute (that renames an element and >> therefore forgoes its semantics) but rather a way to get complete >> control over a semantic element and tweak aspects of it. Otherwise >> creating such controls is prohibitively expensive and only useful if you >> have vast resources. > > Exactly. This is in fact how XBL works. This is why the widgets in the > HTML spec are defined in terms of bindings -- the idea is that authors can > then provide their own alternative bindings or inherit from them. We would > provide basic bindings that they can reuse in their inheritance chain, > e.g. so that they can override just the look of the button but get all the > interactive behaviour (accessibility roles, keyboard navigation, mouse > click reactions, etc) for free. > Isn't that the domain of CSS? > -- > Ian Hickson U+1047E )\._.,--....,'``. fL > http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,. > Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.' >
Received on Saturday, 3 September 2011 23:56:25 UTC