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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/spatial-navigation/snav-zero-margin-content.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
« no previous file with comments | « third_party/WebKit/LayoutTests/fast/spatial-navigation/snav-z-index.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <html> 1 <html>
2 <!-- 2 <!--
3 This test ensures the traversal correctness of spatial navigation: 3 This test ensures the traversal correctness of spatial navigation:
4 focusable elements accessible, including zero-margin content, should be 4 focusable elements accessible, including zero-margin content, should be
5 accessible. 5 accessible.
6 --> 6 -->
7 <head> 7 <head>
8 <style type="text/css"> 8 <style type="text/css">
9 body { 9 body {
10 background:none repeat scroll 0 0 #FFFFFF; 10 background:none repeat scroll 0 0 #FFFFFF;
(...skipping 15 matching lines...) Expand all
26 <script type="application/javascript"> 26 <script type="application/javascript">
27 27
28 var resultMap = [ 28 var resultMap = [
29 ["Right", "end"], 29 ["Right", "end"],
30 ["DONE", "DONE"] 30 ["DONE", "DONE"]
31 ]; 31 ];
32 32
33 if (window.testRunner) { 33 if (window.testRunner) {
34 testRunner.dumpAsText(); 34 testRunner.dumpAsText();
35 testRunner.overridePreference("WebKitTabToLinksPreferenceKey", 1); 35 testRunner.overridePreference("WebKitTabToLinksPreferenceKey", 1);
36 testRunner.overridePreference("WebKitSpatialNavigationEnabled", 1); 36 window.internals.settings.setSpatialNavigationEnabled(true);
37 testRunner.waitUntilDone(); 37 testRunner.waitUntilDone();
38 } 38 }
39 39
40 function runTest() 40 function runTest()
41 { 41 {
42 // starting the test itself: get to a known place. 42 // starting the test itself: get to a known place.
43 document.getElementById("start").focus(); 43 document.getElementById("start").focus();
44 44
45 initTest(resultMap, testCompleted); 45 initTest(resultMap, testCompleted);
46 } 46 }
(...skipping 13 matching lines...) Expand all
60 <div> 60 <div>
61 <nobr> 61 <nobr>
62 <a href="#" id="start"> test1 </a> 62 <a href="#" id="start"> test1 </a>
63 <a href="#" id="end"> test2 </a> 63 <a href="#" id="end"> test2 </a>
64 </nobr> 64 </nobr>
65 </div> 65 </div>
66 </span> 66 </span>
67 <div id="console"></div> 67 <div id="console"></div>
68 </body> 68 </body>
69 </html> 69 </html>
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/fast/spatial-navigation/snav-z-index.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698