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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/spatial-navigation/snav-aligned-not-aligned.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: 50px; 9 height: 50px;
10 width: 100px; 10 width: 100px;
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 ["Left", "e4"], 54 ["Left", "e4"],
55 ["Left", "e1"], 55 ["Left", "e1"],
56 ["Down", "e2"], 56 ["Down", "e2"],
57 ["Right", "e3"], 57 ["Right", "e3"],
58 ["Right", "e4"], 58 ["Right", "e4"],
59 ["DONE", "DONE"] 59 ["DONE", "DONE"]
60 ]; 60 ];
61 61
62 if (window.testRunner) { 62 if (window.testRunner) {
63 testRunner.overridePreference("WebKitTabToLinksPreferenceKey", 1); 63 testRunner.overridePreference("WebKitTabToLinksPreferenceKey", 1);
64 testRunner.overridePreference("WebKitSpatialNavigationEnabled", 1); 64 window.internals.settings.setSpatialNavigationEnabled(true);
65 } 65 }
66 66
67 function runTest() 67 function runTest()
68 { 68 {
69 // starting the test itself: get to a known place. 69 // starting the test itself: get to a known place.
70 document.getElementById("e1").focus(); 70 document.getElementById("e1").focus();
71 71
72 initTest(resultMap, finishJSTest); 72 initTest(resultMap, finishJSTest);
73 } 73 }
74 </script> 74 </script>
75 </body> 75 </body>
76 </html> 76 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698