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

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

Powered by Google App Engine
This is Rietveld 408576698