W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2011

Re: [DOMCore] Making event initializing easier

From: Ian Hickson <ian@hixie.ch>
Date: Sat, 25 Jun 2011 17:00:04 +0000 (UTC)
To: Anne van Kesteren <annevk@opera.com>
cc: Jonas Sicking <jonas@sicking.cc>, "www-dom@w3.org" <www-dom@w3.org>
Message-ID: <Pine.LNX.4.64.1106251658560.20871@ps20323.dreamhostps.com>
On Sat, 25 Jun 2011, Anne van Kesteren wrote:
> The way it is defined now is that events have a set of concepts 
> associated with them and the object members return those. E.g. .bubbles 
> "internally" is the bubble flag. It does not make sense if the event 
> dictionary would refer directly to the properties. I suppose we could 
> revamp the way events are defined though, but I am not sure how.

Oh well "bubbles" and the other core attributes can be defined that way, 
sure, they're more complicated. But for other events, there's not really 
any magic in the attributes, right? They're read/write generally and 
simply return the last thing they were set to. For those, no need for any 
special flags.

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Saturday, 25 June 2011 17:00:27 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:17 UTC