[webkit-changes] [WebKit/WebKit] 5a9504: Fix "mouse" position selection in svg/text/resourc...
Ahmad Saleem
noreply at github.com
Sun Nov 13 00:44:24 PST 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 5a9504aef82d929917a680a05a3fc17f7f6b4dde
https://github.com/WebKit/WebKit/commit/5a9504aef82d929917a680a05a3fc17f7f6b4dde
Author: Ahmad Saleem <ahmad.saleem792+github at gmail.com>
Date: 2022-11-13 (Sun, 13 Nov 2022)
Changed paths:
M LayoutTests/svg/text/resources/SelectionTestCase.js
Log Message:
-----------
Fix "mouse" position selection in svg/text/resources/SelectionTestCase.js
Fix "mouse" position selection in svg/text/resources/SelectionTestCase.js
https://bugs.webkit.org/show_bug.cgi?id=247772
Reviewed by Nikolas Zimmermann.
Merge - https://chromium.googlesource.com/chromium/blink/+/efcb293e9377de07e1329be3c84fcdba0d67ede6
eventSender.mouseMoveTo(...) truncates the coordinates it is passed, so
fractional coordinates could end being adjust by almost an entire pixel,
which could yield incorrect results.
Round the end-points such that they should reside within the intended
selection area.
* LayoutTests/svg/text/resources/SelectionTestCase.js: Update logic to round 'coordinates'
Canonical link: https://commits.webkit.org/256617@main
More information about the webkit-changes
mailing list