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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/spatial-navigation/snav-radio-group.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 Spatial Navigation (SNav) algorithm ove r single select element. 3 This test ensures the correctness of Spatial Navigation (SNav) algorithm ove r single select element.
4 4
5 * Pre-conditions: 5 * Pre-conditions:
6 1) DRT support for SNav enable/disable. 6 1) DRT support for SNav enable/disable.
7 7
8 * Navigation steps: 8 * Navigation steps:
9 1) Loads this page, focus goes to "start" automatically. 9 1) Loads this page, focus goes to "start" automatically.
10 2) Focus moves away from select in 4 different directions to neighbor nodes and back. 10 2) Focus moves away from select in 4 different directions to neighbor nodes and back.
(...skipping 19 matching lines...) Expand all
30 ["Left", "left"], 30 ["Left", "left"],
31 ["Left", "4"], 31 ["Left", "4"],
32 ["Right", "left"], 32 ["Right", "left"],
33 ["Right", "start"], 33 ["Right", "start"],
34 ["DONE", "DONE"] 34 ["DONE", "DONE"]
35 ]; 35 ];
36 36
37 if (window.testRunner) { 37 if (window.testRunner) {
38 testRunner.dumpAsText(); 38 testRunner.dumpAsText();
39 testRunner.overridePreference("WebKitTabToLinksPreferenceKey", 1); 39 testRunner.overridePreference("WebKitTabToLinksPreferenceKey", 1);
40 testRunner.overridePreference("WebKitSpatialNavigationEnabled", 1); 40 window.internals.settings.setSpatialNavigationEnabled(true);
41 testRunner.waitUntilDone(); 41 testRunner.waitUntilDone();
42 } 42 }
43 43
44 function runTest() 44 function runTest()
45 { 45 {
46 // starting the test itself: get to a known place. 46 // starting the test itself: get to a known place.
47 document.getElementById("start").focus(); 47 document.getElementById("start").focus();
48 48
49 initTest(resultMap, testCompleted); 49 initTest(resultMap, testCompleted);
50 } 50 }
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 <td style="vertical-align: center; text-align: center;"></td> 99 <td style="vertical-align: center; text-align: center;"></td>
100 <td style="vertical-align: center; text-align: center;"><a id="8" href ="a">8</a></td> 100 <td style="vertical-align: center; text-align: center;"><a id="8" href ="a">8</a></td>
101 <td style="vertical-align: center; text-align: center;"></td> 101 <td style="vertical-align: center; text-align: center;"></td>
102 </tr> 102 </tr>
103 </tbody> 103 </tbody>
104 </table> 104 </table>
105 <div id="console"></div> 105 <div id="console"></div>
106 </body> 106 </body>
107 </html> 107 </html>
108 108
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698