[Webkit-unassigned] [Bug 173409] Selection direction is lost after applying a style change

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 15 04:54:18 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=173409

--- Comment #1 from Javier Fernandez <jfernandez at igalia.com> ---
This issue is not reproducible on Firefox or Edge/IE because these browsers are reseting the selection boundaries (at least the values returned by focus/anchor offsets) after applying the style change.

We don't do that, which I guess it's fine. However, I don't see any reason why we should forget about the previous selection direction. 

The attached case applies a new style to a portion of the text, which cause the DOM tree to change so the new styled text has it's own now. Hence, the selection  boundaries are adapted to the new DOM Tree. However, as I said, there is no reason why they should not respect the initial direction.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170615/d51b4ee3/attachment.html>


More information about the webkit-unassigned mailing list