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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/spatial-navigation/snav-two-elements-one-line.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 <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 <script type="application/javascript"> 5 <script type="application/javascript">
6 6
7 var resultMap = [ 7 var resultMap = [
8 ["Down", "e1"], 8 ["Down", "e1"],
9 ["Down", "e2"], 9 ["Down", "e2"],
10 ["Down", "e3"], 10 ["Down", "e3"],
11 ["Up", "e2"], 11 ["Up", "e2"],
12 ["Up", "e1"], 12 ["Up", "e1"],
13 ["Up", "start"], 13 ["Up", "start"],
14 ["DONE", "DONE"] 14 ["DONE", "DONE"]
15 ]; 15 ];
16 16
17 if (window.testRunner) { 17 if (window.testRunner) {
18 testRunner.dumpAsText(); 18 testRunner.dumpAsText();
19 testRunner.overridePreference("WebKitTabToLinksPreferenceKey", 1); 19 testRunner.overridePreference("WebKitTabToLinksPreferenceKey", 1);
20 testRunner.overridePreference("WebKitSpatialNavigationEnabled", 1); 20 window.internals.settings.setSpatialNavigationEnabled(true);
21 testRunner.waitUntilDone(); 21 testRunner.waitUntilDone();
22 } 22 }
23 23
24 function runTest() 24 function runTest()
25 { 25 {
26 // starting the test itself: get to a known place. 26 // starting the test itself: get to a known place.
27 document.getElementById("start").focus(); 27 document.getElementById("start").focus();
28 28
29 initTest(resultMap, testCompleted); 29 initTest(resultMap, testCompleted);
30 } 30 }
(...skipping 23 matching lines...) Expand all
54 <a href="#" id="e3">AA AAAAAAAAAA AAAAAAAAAA</a> 54 <a href="#" id="e3">AA AAAAAAAAAA AAAAAAAAAA</a>
55 </div> 55 </div>
56 56
57 57
58 58
59 59
60 <div id="console"></div> 60 <div id="console"></div>
61 This test is testing that we can handle 2 inline elements in the same line. 61 This test is testing that we can handle 2 inline elements in the same line.
62 </body> 62 </body>
63 </html> 63 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698