[Webkit-unassigned] [Bug 145212] selection.getRangeAt(0) should return a reference to the range, not a copy

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 17 15:06:58 PST 2020


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

Carlos Alberto Lopez Perez <clopez at igalia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |clopez at igalia.com

--- Comment #9 from Carlos Alberto Lopez Perez <clopez at igalia.com> ---
I was checking the many failures of WebKit on the WPT "selection/" tests and it seems most of them are related with this bug.

https://wpt.fyi/results/selection?label=master&product=chrome%5Bexperimental%5D&product=firefox%5Bexperimental%5D&product=safari%5Bexperimental%5D&product=webkitgtk&aligned&q=%28safari%3A%21pass%26safari%3A%21ok%29%20%28chrome%3Apass%7Cchrome%3Aok%29%20%28firefox%3Apass%7Cfirefox%3Aok%29

"selection.addRange(foo)" on WebKit doesn't set the selection range by a reference to "foo" (against the spec). So then the tests fail to assert that the range of the selection its the same range object added with addRange(), or that it has the expected properties. Example: http://wpt.live/selection/addRange.htm

-- 
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/20200217/112c5579/attachment.htm>


More information about the webkit-unassigned mailing list