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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/spatial-navigation/snav-div-overflow-scrol-hidden.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", "f2"], 8 ["Down", "f2"],
9 ["Down", "f3"], 9 ["Down", "f3"],
10 ["Down", "f3"], 10 ["Down", "f3"],
11 ["Down", "f4"], 11 ["Down", "f4"],
12 ["Down", "f4"], 12 ["Down", "f4"],
13 ["Down", "f5"], 13 ["Down", "f5"],
14 ["Down", "f5"], 14 ["Down", "f5"],
15 ["Down", "f6"], 15 ["Down", "f6"],
16 ["Down", "f6"], 16 ["Down", "f6"],
17 ["Down", "f9"], 17 ["Down", "f9"],
18 ["DONE", "DONE"] 18 ["DONE", "DONE"]
19 ]; 19 ];
20 20
21 if (window.testRunner) { 21 if (window.testRunner) {
22 testRunner.dumpAsText(); 22 testRunner.dumpAsText();
23 testRunner.overridePreference("WebKitTabToLinksPreferenceKey", 1); 23 testRunner.overridePreference("WebKitTabToLinksPreferenceKey", 1);
24 testRunner.overridePreference("WebKitSpatialNavigationEnabled", 1); 24 window.internals.settings.setSpatialNavigationEnabled(true);
25 testRunner.waitUntilDone(); 25 testRunner.waitUntilDone();
26 } 26 }
27 27
28 function runTest() 28 function runTest()
29 { 29 {
30 // starting the test itself: get to a known place. 30 // starting the test itself: get to a known place.
31 document.getElementById("start").focus(); 31 document.getElementById("start").focus();
32 32
33 initTest(resultMap, testCompleted); 33 initTest(resultMap, testCompleted);
34 } 34 }
(...skipping 27 matching lines...) Expand all
62 <div><a href="#" id="f7"><img src="resources/green.png" width=40px; height=40px; ></a></div> 62 <div><a href="#" id="f7"><img src="resources/green.png" width=40px; height=40px; ></a></div>
63 <div><a href="#" id="f8"><img src="resources/green.png" width=50px; height=40px; ></a></div> 63 <div><a href="#" id="f8"><img src="resources/green.png" width=50px; height=40px; ></a></div>
64 </div><br> 64 </div><br>
65 <div><a href="#" id="f9"><img src="resources/green.png" width=40px; height=40px; ></a></div> 65 <div><a href="#" id="f9"><img src="resources/green.png" width=40px; height=40px; ></a></div>
66 </div></div> 66 </div></div>
67 <div id="console"></div> 67 <div id="console"></div>
68 This test is testing that div with overflow:auto would scroll, by div with overf low:hidden would not. 68 This test is testing that div with overflow:auto would scroll, by div with overf low:hidden would not.
69 </body> 69 </body>
70 </html> 70 </html>
71 71
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698