W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2011

Re: Behavior Attachment Redux, was Re: HTML element content models vs. components

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 11 Oct 2011 06:34:40 +0000 (UTC)
To: public-webapps@w3.org
Message-ID: <Pine.LNX.4.64.1110110630520.20981@ps20323.dreamhostps.com>
On Mon, 10 Oct 2011, Charles Pritchard wrote:
> Will I be writing the following:
> <div is="button" role="button">

Hopefully not, on two counts:

First, you should reuse <button> if it's a button, as in:

   <button is="fancybutton">

Secondly, I would presume whatever solution we use for shadow tree 
definitions would be where you put all the roles.

If we actually get binding attachment into the platform, role="" would 
likely disappear from HTML pages entirely, being entirely relegated to 
widget definitions.

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 11 October 2011 06:38:28 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:36 UTC