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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/spatial-navigation/snav-container-white-space.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 <!-- 2 <!--
3 This test ensures the correctness of a basic aspect of spatial navigation tr aversal 3 This test ensures the correctness of a basic aspect of spatial navigation tr aversal
4 routines: focusable elements in scrollable containers (e.g. <div>) should be 4 routines: focusable elements in scrollable containers (e.g. <div>) should be
5 accessible, including offscreen content. 5 accessible, including offscreen content.
6 6
7 * Pre-conditions: 7 * Pre-conditions:
8 1) DRT support for spatial navivation enable/disable. 8 1) DRT support for spatial navivation enable/disable.
9 9
10 * Navigation steps: 10 * Navigation steps:
(...skipping 23 matching lines...) Expand all
34 ["Up", "3"], 34 ["Up", "3"],
35 ["Up", "2"], 35 ["Up", "2"],
36 ["Up", "1"], 36 ["Up", "1"],
37 ["Up", "start"], 37 ["Up", "start"],
38 ["DONE", "DONE"] 38 ["DONE", "DONE"]
39 ]; 39 ];
40 40
41 if (window.testRunner) { 41 if (window.testRunner) {
42 testRunner.dumpAsText(); 42 testRunner.dumpAsText();
43 testRunner.overridePreference("WebKitTabToLinksPreferenceKey", 1); 43 testRunner.overridePreference("WebKitTabToLinksPreferenceKey", 1);
44 testRunner.overridePreference("WebKitSpatialNavigationEnabled", 1); 44 window.internals.settings.setSpatialNavigationEnabled(true);
45 testRunner.waitUntilDone(); 45 testRunner.waitUntilDone();
46 } 46 }
47 47
48 function runTest() 48 function runTest()
49 { 49 {
50 // starting the test itself: get to a known place. 50 // starting the test itself: get to a known place.
51 document.getElementById("start").focus(); 51 document.getElementById("start").focus();
52 52
53 initTest(resultMap, testCompleted); 53 initTest(resultMap, testCompleted);
54 } 54 }
(...skipping 26 matching lines...) Expand all
81 <a href="#" id="4"> 81 <a href="#" id="4">
82 <img src="resources/green.png" height="42" width="76" alt="llinker1" borde r="0"/> 82 <img src="resources/green.png" height="42" width="76" alt="llinker1" borde r="0"/>
83 </a><br> 83 </a><br>
84 84
85 <a href="#" id="5">This is an element</a><br> 85 <a href="#" id="5">This is an element</a><br>
86 <div id="console"></div> 86 <div id="console"></div>
87 <div>This test tests that a anchor element with in image in it and a space a fter the image, can still give the correct size in ContainerNode::getRect().</di v> 87 <div>This test tests that a anchor element with in image in it and a space a fter the image, can still give the correct size in ContainerNode::getRect().</di v>
88 </body> 88 </body>
89 </html> 89 </html>
90 90
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698