[whatwg] Control over selection direction

Ryosuke Niwa rniwa at webkit.org
Fri May 6 15:04:46 PDT 2011


On Fri, May 6, 2011 at 2:56 PM, Ian Hickson <ian at hixie.ch> wrote:
>
> On Windows, sure, it should default to "forward" just like the spec says.
> But on Mac, it should default to "none", since otherwise the behaviour is
> inconsistent with the platform selection behaviour.
>

Why is it inconsistent? DOM Selection works the same way in WebKit.  The
only case you get non-directional selection in WebKit is if a user set
selection by mouse.

- Ryosuke



More information about the whatwg mailing list