[whatwg] WindowHTML Option() constructor

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