W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2014

[Bug 13909] Selections have three possible directions, not two

From: <bugzilla@jessica.w3.org>
Date: Tue, 22 Apr 2014 07:13:39 +0000
To: public-webapps@w3.org
Message-ID: <bug-13909-2927-gRHkz8pubX@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=13909

Ryosuke Niwa <rniwa@webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Ryosuke Niwa <rniwa@webkit.org> ---
I've fixed this when I ported the specification:
http://rniwa.github.io/selection-api.html#dfn-direction

"Each selection has a direction, forwards, backwards, or directionless. If the
user creates a selection by indicating first one boundary point of the range
and then the other (such as by clicking on one point and dragging to another),
and the first indicated boundary point is after ([DOM4]) the second, then the
corresponding selection must initially be backwards. If the first indicated
boundary point is before ([DOM4]) the second, then the corresponding selection
must initially be forwards. Otherwise, it must be directionless."

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Tuesday, 22 April 2014 07:13:40 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:14:24 UTC