W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2011

Re: Custom tags over wire, was Re: HTMLElement.register--giving components tag names

From: Charles Pritchard <chuck@jumis.com>
Date: Sat, 3 Sep 2011 14:13:21 -0700
Message-Id: <AF23A8F1-49E8-4A0E-B4A7-18F32F8DDAD1@jumis.com>
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>
To: Ian Hickson <ian@hixie.ch>

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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:23 UTC