[whatwg] typo in the spec of the selectionDirection attribute

On Mon, 13 Jun 2011, Futomi Hatano wrote:
>
> I've read the the spec of the selectionDirection attribute, and I've 
> found a typo.
> 
> http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-controls-and-forms.html#dom-textarea/input-selectiondirection
> 
> The spec says in the second paragraph as below.
> ---
> On setting, it must act as if the setSelectionRange() method had been called, 
> with the current value of the selectionStart attribute as the first argument,
> the current value of the selectionEnd attribute as the first argument,
> and the new value as the third argument.
> ---
> 
> The current value of the selectionEnd attribute is not as the first 
> argument, but as the second argument, is it?

Indeed. This has been fixed. Thanks.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Tuesday, 10 January 2012 14:44:44 UTC