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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/spatial-navigation/snav-overlapping-elements.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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <head> 2 <head>
3 <script src="../../resources/js-test.js"></script> 3 <script src="../../resources/js-test.js"></script>
4 <script src="resources/spatial-navigation-utils.js"></script> 4 <script src="resources/spatial-navigation-utils.js"></script>
5 </head> 5 </head>
6 <style> 6 <style>
7 body a { 7 body a {
8 position: absolute; 8 position: absolute;
9 height: 100px; 9 height: 100px;
10 width: 100px; 10 width: 100px;
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 // Horizontal: 65 // Horizontal:
66 ["Right", "e5"], 66 ["Right", "e5"],
67 ["Right", "e6"], 67 ["Right", "e6"],
68 ["Left", "e5"], 68 ["Left", "e5"],
69 ["Left", "e4"], 69 ["Left", "e4"],
70 ["DONE", "DONE"] 70 ["DONE", "DONE"]
71 ]; 71 ];
72 72
73 if (window.testRunner) { 73 if (window.testRunner) {
74 testRunner.overridePreference("WebKitTabToLinksPreferenceKey", 1); 74 testRunner.overridePreference("WebKitTabToLinksPreferenceKey", 1);
75 testRunner.overridePreference("WebKitSpatialNavigationEnabled", 1); 75 window.internals.settings.setSpatialNavigationEnabled(true);
76 } 76 }
77 77
78 function runTest() 78 function runTest()
79 { 79 {
80 // starting the test itself: get to a known place. 80 // starting the test itself: get to a known place.
81 document.getElementById("e1").focus(); 81 document.getElementById("e1").focus();
82 82
83 initTest(resultMap, finishJSTest); 83 initTest(resultMap, finishJSTest);
84 } 84 }
85 </script> 85 </script>
86 </body> 86 </body>
87 </html> 87 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698