W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2008

[whatwg] WindowHTML Option() constructor

From: Anne van Kesteren <annevk@opera.com>
Date: Tue, 28 Oct 2008 15:40:26 -0700
Message-ID: <op.ujralog964w2qv@annevk-t60.oslo.opera.com>
On Tue, 28 Oct 2008 02:52:36 -0700, Ian Hickson <ian at hixie.ch> wrote:
> On Sun, 5 Nov 2006, Anne van Kesteren wrote:
>>
>> The Option() constructor takes four arguments: 'Option(in DOMString
>> name, in DOMString value, in boolean defaultSelected, in boolean
>> selected)' is the complete version of it.
>
> Fixed.

The IDL uses Constructor() but should use NamedConstructor=Option()  
instead. (See e.g. HTMLImageElement for how it should be done.)


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>
Received on Tuesday, 28 October 2008 15:40:26 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:06 UTC