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

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 the QA Contact for the bug.

Received on Tuesday, 22 April 2014 07:13:40 UTC