Changeset 246673 in webkit
- Timestamp:
- Jun 21, 2019 12:05:10 AM (5 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r246668 r246673 1 2019-06-20 Antoine Quint <graouts@apple.com> 2 3 fast/events/ios/click-event-and-display-contents.html times out on iPad 4 https://bugs.webkit.org/show_bug.cgi?id=199068 5 <rdar://problem/51899547> 6 7 Reviewed by Dean Jackson. 8 9 Querying the bounds of a "display: contents" element will always return 0 width and height. So let's position the element at 0,0 10 so that we can send a tap at that location and reliably tap on that element. 11 12 * fast/events/ios/click-event-and-display-contents.html: 13 1 14 2019-06-20 Simon Fraser <simon.fraser@apple.com> 2 15 -
trunk/LayoutTests/fast/events/ios/click-event-and-display-contents.html
r246404 r246673 5 5 <script src="../../../resources/basic-gestures.js"></script> 6 6 <style> 7 8 body { 9 margin: 0; 10 } 11 7 12 #target { 8 13 width: 100px; … … 27 32 28 33 target.addEventListener("click", event => { 29 document.getElementById("target").innerText = "PASS";34 target.innerText = "PASS"; 30 35 testRunner.notifyDone(); 31 36 }); 32 37 33 const bounds = target.getBoundingClientRect(); 34 const x = bounds.left + bounds.width / 2; 35 const y = bounds.top + bounds.height / 2; 36 tapAtPoint(x, y); 38 tapAtPoint(0, 0); 37 39 })(); 38 40
Note: See TracChangeset
for help on using the changeset viewer.