Re: [DOMCore] Making event initializing easier

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