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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/spatial-navigation/snav-multiple-select.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 multiple select element. 3 This test ensures the correctness of Spatial Navigation (SNav) algorithm ove r multiple 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 16 matching lines...) Expand all
27 ["Right", "6"], 27 ["Right", "6"],
28 ["Left", "start"], 28 ["Left", "start"],
29 ["Left", "4"], 29 ["Left", "4"],
30 ["Right", "start"], 30 ["Right", "start"],
31 ["DONE", "DONE"] 31 ["DONE", "DONE"]
32 ]; 32 ];
33 33
34 if (window.testRunner) { 34 if (window.testRunner) {
35 testRunner.dumpAsText(); 35 testRunner.dumpAsText();
36 testRunner.overridePreference("WebKitTabToLinksPreferenceKey", 1); 36 testRunner.overridePreference("WebKitTabToLinksPreferenceKey", 1);
37 testRunner.overridePreference("WebKitSpatialNavigationEnabled", 1); 37 window.internals.settings.setSpatialNavigationEnabled(true);
38 testRunner.waitUntilDone(); 38 testRunner.waitUntilDone();
39 } 39 }
40 40
41 function runTest() 41 function runTest()
42 { 42 {
43 // starting the test itself: get to a known place. 43 // starting the test itself: get to a known place.
44 document.getElementById("start").focus(); 44 document.getElementById("start").focus();
45 45
46 initTest(resultMap, additionalTest); 46 initTest(resultMap, additionalTest);
47 } 47 }
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 <td style="vertical-align: top; text-align: center;"></td> 124 <td style="vertical-align: top; text-align: center;"></td>
125 <td style="vertical-align: top; text-align: center;"><a id="8" href="a ">8</a></td> 125 <td style="vertical-align: top; text-align: center;"><a id="8" href="a ">8</a></td>
126 <td style="vertical-align: top; text-align: center;"></td> 126 <td style="vertical-align: top; text-align: center;"></td>
127 </tr> 127 </tr>
128 </tbody> 128 </tbody>
129 </table> 129 </table>
130 <div id="console"></div> 130 <div id="console"></div>
131 </body> 131 </body>
132 </html> 132 </html>
133 133
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698