Changeset 199653 in webkit
- Timestamp:
- Apr 18, 2016 12:40:22 AM (8 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r199649 r199653 1 2016-04-18 Carlos Garcia Campos <cgarcia@igalia.com> 2 3 [GTK] Test /webkit2/WebKitWebView/mouse-target fails with overlay scrollbars 4 https://bugs.webkit.org/show_bug.cgi?id=156621 5 6 Reviewed by Martin Robinson. 7 8 This is a problem of the test itself, we are using an overflow that is not actually scrollable, but that shows 9 scrollbar troughs when not using overlay scrollbars because it's marked as scrollable. It would be easier to 10 simply use the main frame scrollbars to test that and it will work no matter of scrollbars are overlay or not. 11 12 * TestWebKitAPI/Tests/WebKit2Gtk/TestUIClient.cpp: 13 (testWebViewMouseTarget): Remove the div and move the mouse over the main frame scrollbar to test scrolbars hit test. 14 1 15 2016-04-17 Gyuyoung Kim <gyuyoung.kim@webkit.org> 2 16 -
trunk/Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestUIClient.cpp
r195285 r199653 615 615 " <a style='position:absolute; left:1; top:20' href='http://www.webkitgtk.org/logo' title='WebKitGTK+ Logo'><img src='0xdeadbeef' width=5 height=5></img></a>" 616 616 " <input style='position:absolute; left:1; top:30' size='10'></input>" 617 " <div style='position:absolute; left:1; top:50; width:30; height:30; overflow:scroll'> </div>"618 617 " <video style='position:absolute; left:1; top:100' width='300' height='300' controls='controls' preload='none'><source src='movie.ogg' type='video/ogg' /></video>" 619 618 " <p style='position:absolute; left:1; top:120' id='text_to_select'>Lorem ipsum.</p>" … … 691 690 692 691 // Move over scrollbar. 693 hitTestResult = test->moveMouseAndWaitUntilMouseTargetChanged( 5, 75);692 hitTestResult = test->moveMouseAndWaitUntilMouseTargetChanged(gtk_widget_get_allocated_width(GTK_WIDGET(test->m_webView)) - 4, 5); 694 693 g_assert(!webkit_hit_test_result_context_is_link(hitTestResult)); 695 694 g_assert(!webkit_hit_test_result_context_is_image(hitTestResult));
Note: See TracChangeset
for help on using the changeset viewer.