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: Fri, 24 Jun 2011 18:23:58 +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.1106241811520.20871@ps20323.dreamhostps.com>
On Fri, 24 Jun 2011, Anne van Kesteren wrote:
> http://dev.w3.org/2006/webapi/progress/#interface-progressevent

Can you have some text in the core spec such that constructors like the 
above can just be defined as:

   The FooEvent() constructor is an _Event Object Constructor_.

...or some such? Looks like the steps can be made generic easily; step 1 
can just refer to "the interface that the constructor was called on" or 
some such (heycam can give you better text), the others are already 
generic except for the argument names, but you can just refer to the 
arguments by position rather than name. Then there'd be just one prose 
line and some IDL each time.

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

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