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

Unified Diff: LayoutTests/fast/spatial-navigation/snav-z-index.html

Issue 105973003: Improve spatial navigation on overlapping elements. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Updates layout tests, fixed raised issues. Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/spatial-navigation/snav-z-index.html
diff --git a/LayoutTests/fast/spatial-navigation/snav-z-index.html b/LayoutTests/fast/spatial-navigation/snav-z-index.html
index fae2ac5f5ae6cafb9069705cafbfd3ef896df916..c3ef554bfdb82e7e272b4819d88b02b66ccf3c4d 100644
--- a/LayoutTests/fast/spatial-navigation/snav-z-index.html
+++ b/LayoutTests/fast/spatial-navigation/snav-z-index.html
@@ -5,14 +5,24 @@
<script type="application/javascript">
var resultMap = [
+ ["Down", "s22"],
["Down", "p11"],
+ ["Down", "s23"],
["Down", "p12"],
+ ["Down", "s24"],
["Down", "s25"],
+ ["Up", "s24"],
["Up", "p12"],
- ["Left", "s13"],
+ ["Right", "p22"],
+ ["Left", "p12"],
+ ["Left", "s24"],
+ ["Left", "s14"],
+ ["Up", "s13"],
["Up", "s12"],
+ ["Right", "s22"],
["Right", "p11"],
["Right", "p21"],
+ ["Up", "s22"],
["Up", "start"],
["DONE", "DONE"]
];
@@ -74,6 +84,6 @@
<div tabindex="5" id="s25" class="simple"><img src="resources/green.png" width=160px height=60px></div>
</td></tr></table>
<div id="console"></div>
-This test is testing that we prefer focusable elements with absolute positioning over other elements.
+This test is testing that we can prefer the elements with higher Z indexes.
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698