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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/spatial-navigation/snav-tiny-table-traversal.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 basic table traversal correctness of 3 This test ensures the basic table traversal correctness of
4 Spatial Navigation (SNav) algorithm: focusable elements in a 4 Spatial Navigation (SNav) algorithm: focusable elements in a
5 <table> should be accessible. 5 <table> should be accessible.
6 6
7 * Pre-conditions: 7 * Pre-conditions:
8 1) DRT support for SNav enable/disable. 8 1) DRT support for SNav enable/disable.
9 9
10 * Navigation steps: 10 * Navigation steps:
(...skipping 20 matching lines...) Expand all
31 ["Left", "6"], 31 ["Left", "6"],
32 ["Up", "3"], 32 ["Up", "3"],
33 ["Left", "2"], 33 ["Left", "2"],
34 ["Left", "1"], 34 ["Left", "1"],
35 ["DONE", "DONE"] 35 ["DONE", "DONE"]
36 ]; 36 ];
37 37
38 if (window.testRunner) { 38 if (window.testRunner) {
39 testRunner.dumpAsText(); 39 testRunner.dumpAsText();
40 testRunner.overridePreference("WebKitTabToLinksPreferenceKey", 1); 40 testRunner.overridePreference("WebKitTabToLinksPreferenceKey", 1);
41 testRunner.overridePreference("WebKitSpatialNavigationEnabled", 1); 41 window.internals.settings.setSpatialNavigationEnabled(true);
42 testRunner.waitUntilDone(); 42 testRunner.waitUntilDone();
43 } 43 }
44 44
45 function runTest() 45 function runTest()
46 { 46 {
47 // starting the test itself: get to a known place. 47 // starting the test itself: get to a known place.
48 document.getElementById("start").focus(); 48 document.getElementById("start").focus();
49 49
50 initTest(resultMap, testCompleted); 50 initTest(resultMap, testCompleted);
51 } 51 }
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 </table> 83 </table>
84 <div style='margin-top:8px'> 84 <div style='margin-top:8px'>
85 <a id="end" href="a">a<a> 85 <a id="end" href="a">a<a>
86 </div> 86 </div>
87 <div style="margin-left: 50px; margin-top:-70px"> 87 <div style="margin-left: 50px; margin-top:-70px">
88 <a id="right" href="http://www.google.com">a</a> 88 <a id="right" href="http://www.google.com">a</a>
89 </div> 89 </div>
90 <div style="margin-top:100px" id="console"></div> 90 <div style="margin-top:100px" id="console"></div>
91 </body> 91 </body>
92 </html> 92 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698