[Webkit-unassigned] [Bug 176096] New: Unpredictable selection when dragging our of float elements children of an in-flow block-level box
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Aug 30 03:59:43 PDT 2017
https://bugs.webkit.org/show_bug.cgi?id=176096
Bug ID: 176096
Summary: Unpredictable selection when dragging our of float
elements children of an in-flow block-level box
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: HTML Editing
Assignee: webkit-unassigned at lists.webkit.org
Reporter: jfernandez at igalia.com
CC: wenson_hsieh at apple.com
Created attachment 319356
--> https://bugs.webkit.org/attachment.cgi?id=319356&action=review
Test case to reproduce the bug
This bug is the first one of several issues we have with selection and out-of-flow elements.
Attached a reduced case to reproduce the issue. Selecting from any point inside the float element and dragging outside its visible area will cause the selection to change it's visible boundaries, in a very weird and unpredictable way.
This particular issue address the case of float elements children of an in-flow block-level box. In this scenario, we use the LayoutBlock hit testing logic to determine the position of the selection point. Since we exclude float elements from the valid candidates, we end up setting the parent node. This logic implies that original start/end selection points will be transposed.
--
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/20170830/ec4634d3/attachment.html>
More information about the webkit-unassigned
mailing list