Changeset 239025 in webkit
- Timestamp:
- Dec 9, 2018 11:54:16 PM (5 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r239011 r239025 1 2018-12-09 Wenson Hsieh <wenson_hsieh@apple.com> 2 3 [iOS] DragAndDropTests.RespectsExternalSourceFidelityRankings is flaky 4 https://bugs.webkit.org/show_bug.cgi?id=192524 5 6 Reviewed by Ryosuke Niwa. 7 8 This test started failing on certain builds of iOS where UIKit now attempts to reveal the selection by scrolling 9 (see <rdar://problem/28300343>). This API test simulates two drops from external sources, both from the point 10 (300, 400) to (100, 300) in window coordinates. On these aforementioned builds of iOS, what happens is that the 11 first drop inserts text that overflows the editable region by an enormous amount, which creates an extremely 12 wide selection rect and increases the width of the document; revealing this selection causes the web view to 13 scroll horizontally, such that the second attempt to simulate a drag from (300, 400) to (100, 300) fails, since 14 these window coordinates no longer correspond to the drop destination element in the document. 15 16 To fix this test, we simply mark the drop destination as `overflow: hidden` to ensure that we don't try and 17 scroll horizontally after the first drop. 18 19 * TestWebKitAPI/Tests/WebKitCocoa/autofocus-contenteditable.html: 20 1 21 2018-12-08 Daniel Bates <dabates@apple.com> 2 22 -
trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/autofocus-contenteditable.html
r238728 r239025 15 15 } 16 16 17 #source {17 #source, #editor { 18 18 overflow: hidden; 19 19 }
Note: See TracChangeset
for help on using the changeset viewer.