Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 5a9504aef82d929917a680a05a3fc17f7f6b4dde https://github.com/WebKit/WebKit/commit/5a9504aef82d929917a680a05a3fc17f7f6b4dde Author: Ahmad Saleem <ahmad.saleem792+git...@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 _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes