Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Side by Side Diff: third_party/WebKit/LayoutTests/fast/spatial-navigation/snav-clipped-overflowed-content.html

Issue 2077183002: Revert of Fix re-usage of stale cached WebPreferences in RenderViewHost. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <html> 1 <html>
2 <!-- 2 <!--
3 This test ensures the correctness of a basic aspect of spatial navigation tr aversal 3 This test ensures the correctness of a basic aspect of spatial navigation tr aversal
4 routines: focusable elements in scrollable containers (e.g. <div>) should be 4 routines: focusable elements in scrollable containers (e.g. <div>) should be
5 accessible, including offscreen content. 5 accessible, including offscreen content.
6 6
7 * Pre-conditions: 7 * Pre-conditions:
8 1) DRT support for spatial navivation enable/disable. 8 1) DRT support for spatial navivation enable/disable.
9 9
10 * Navigation steps: 10 * Navigation steps:
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 ["Up", "2"], 42 ["Up", "2"],
43 ["Up", "1"], 43 ["Up", "1"],
44 ["Up", "1"], 44 ["Up", "1"],
45 ["Up", "start"], 45 ["Up", "start"],
46 ["DONE", "DONE"] 46 ["DONE", "DONE"]
47 ]; 47 ];
48 48
49 if (window.testRunner) { 49 if (window.testRunner) {
50 testRunner.dumpAsText(); 50 testRunner.dumpAsText();
51 testRunner.overridePreference("WebKitTabToLinksPreferenceKey", 1); 51 testRunner.overridePreference("WebKitTabToLinksPreferenceKey", 1);
52 testRunner.overridePreference("WebKitSpatialNavigationEnabled", 1); 52 window.internals.settings.setSpatialNavigationEnabled(true);
53 testRunner.waitUntilDone(); 53 testRunner.waitUntilDone();
54 } 54 }
55 55
56 function runTest() 56 function runTest()
57 { 57 {
58 // starting the test itself: get to a known place. 58 // starting the test itself: get to a known place.
59 document.getElementById("start").focus(); 59 document.getElementById("start").focus();
60 60
61 initTest(resultMap, testCompleted); 61 initTest(resultMap, testCompleted);
62 } 62 }
(...skipping 17 matching lines...) Expand all
80 <img src="resources/green.png" width=200px height=200px> 80 <img src="resources/green.png" width=200px height=200px>
81 <div></div> 81 <div></div>
82 <a id="2" href="a"><img src="resources/green.png" width=30px height=30px>< /a>. 82 <a id="2" href="a"><img src="resources/green.png" width=30px height=30px>< /a>.
83 </div> 83 </div>
84 <a id="3" href="a"><img src="resources/green.png" width=30px height=30px></a > 84 <a id="3" href="a"><img src="resources/green.png" width=30px height=30px></a >
85 <div id="console"></div> 85 <div id="console"></div>
86 <div>This test tests that a div with css overflow:auto will scroll to reveal its focusable elements</div> 86 <div>This test tests that a div with css overflow:auto will scroll to reveal its focusable elements</div>
87 </body> 87 </body>
88 </html> 88 </html>
89 89
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698