[whatwg] WindowHTML Option() constructor
Anne van Kesteren
annevk at opera.com
Tue Oct 28 15:40:26 PDT 2008
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/>
More information about the whatwg
mailing list