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-not-rightof.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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 ["Down", "e3"], 44 ["Down", "e3"],
45 ["Left", "e3"], 45 ["Left", "e3"],
46 ["Up", "e2"], 46 ["Up", "e2"],
47 ["Left", "e2"], 47 ["Left", "e2"],
48 ["Up", "e1"], 48 ["Up", "e1"],
49 ["DONE", "DONE"] 49 ["DONE", "DONE"]
50 ]; 50 ];
51 51
52 if (window.testRunner) { 52 if (window.testRunner) {
53 testRunner.overridePreference("WebKitTabToLinksPreferenceKey", 1); 53 testRunner.overridePreference("WebKitTabToLinksPreferenceKey", 1);
54 testRunner.overridePreference("WebKitSpatialNavigationEnabled", 1); 54 window.internals.settings.setSpatialNavigationEnabled(true);
55 } 55 }
56 56
57 function runTest() 57 function runTest()
58 { 58 {
59 // starting the test itself: get to a known place. 59 // starting the test itself: get to a known place.
60 document.getElementById("e1").focus(); 60 document.getElementById("e1").focus();
61 61
62 initTest(resultMap, finishJSTest); 62 initTest(resultMap, finishJSTest);
63 } 63 }
64 </script> 64 </script>
65 </body> 65 </body>
66 </html> 66 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698