Changeset 144070 in webkit
- Timestamp:
- Feb 26, 2013, 10:29:27 AM (14 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
UIProcess/API/gtk/tests/TestContextMenu.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r144067 r144070 1 2013-02-26 Manuel Rego Casasnovas <rego@igalia.com> 2 3 [WK2][GTK] REGRESSION (r143463): unit test failure in WebKit2APITests/TestContextMenu 4 https://bugs.webkit.org/show_bug.cgi?id=110869 5 6 Reviewed by Martin Robinson. 7 8 Test was failing because of new media controls needs more space to be 9 painted than just 10x10 pixels. 10 11 * UIProcess/API/gtk/tests/TestContextMenu.cpp: 12 (testContextMenuDefaultMenu): Modified test in order to give more space 13 to the media controls. 14 1 15 2013-02-26 Dean Jackson <dino@apple.com> 2 16 -
trunk/Source/WebKit2/UIProcess/API/gtk/tests/TestContextMenu.cpp
r125528 r144070 355 355 " <img style='position:absolute; left:1; top:10' src='0xdeadbeef' width=5 height=5></img>" 356 356 " <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>" 357 " < video style='position:absolute; left:1; top:30' width=10 height=10 controls='controls'><source src='movie.ogg' type='video/ogg' /></video>"358 " < input style='position:absolute; left:1; top:50' size='10'></input>"357 " <input style='position:absolute; left:1; top:30' size='10'></input>" 358 " <video style='position:absolute; left:1; top:50' width='300' height='300' controls='controls'><source src='movie.ogg' type='video/ogg' /></video>" 359 359 "</body></html>"; 360 360 test->loadHtml(linksHTML, "file:///"); … … 383 383 // Context menu for image video. 384 384 test->m_expectedMenuType = ContextMenuDefaultTest::Video; 385 test->showContextMenuAtPositionAndWaitUntilFinished(1, 30);385 test->showContextMenuAtPositionAndWaitUntilFinished(1, 50); 386 386 387 387 // Context menu for editable. 388 388 test->m_expectedMenuType = ContextMenuDefaultTest::Editable; 389 test->showContextMenuAtPositionAndWaitUntilFinished(5, 55);389 test->showContextMenuAtPositionAndWaitUntilFinished(5, 35); 390 390 } 391 391
Note:
See TracChangeset
for help on using the changeset viewer.