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

Unified Diff: LayoutTests/fast/spatial-navigation/snav-div-in-anchor.html

Issue 767283005: Take continuation into consideration when calculating absoluteClippedOverflowRect. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Address review comments and rebaseline Created 5 years, 11 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
« no previous file with comments | « no previous file | LayoutTests/fast/spatial-navigation/snav-div-in-anchor-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/spatial-navigation/snav-div-in-anchor.html
diff --git a/LayoutTests/fast/spatial-navigation/snav-hidden-focusable-element.html b/LayoutTests/fast/spatial-navigation/snav-div-in-anchor.html
similarity index 65%
copy from LayoutTests/fast/spatial-navigation/snav-hidden-focusable-element.html
copy to LayoutTests/fast/spatial-navigation/snav-div-in-anchor.html
index 62972a7fdc324852f4fa971b83d93806479f5729..170e1edc478aad04749cdc8fa877992e82e861d6 100644
--- a/LayoutTests/fast/spatial-navigation/snav-hidden-focusable-element.html
+++ b/LayoutTests/fast/spatial-navigation/snav-div-in-anchor.html
@@ -5,7 +5,7 @@
<script type="application/javascript">
var resultMap = [
- ["Down", "end"],
+ ["Down", "e1"],
["DONE", "DONE"]
];
@@ -31,15 +31,13 @@
}
window.onload = runTest;
-
</script>
</head>
+<body id="some-content" xmlns="http://www.w3.org/1999/xhtml" style="padding:20px">
+<a href="#" id="start"><div>DivInLinkA</div></a>
+<a href="#" id="e1"><div>DivInLinkB</div></a>
- <body id="some-content" xmlns="http://www.w3.org/1999/xhtml">
- <p>This is <a id="start" href="a">link_1</a>.</p>
- <br>This is <a id="1" style="display:none;" href="a">you should not see me</a> hidden link.<br>
- <p>This is <a id="end" href="a">link_2</a>.</p>
- <div id="console"></div>
- <p>This test is to test that focusable elements with display:none do not grab the focus.</p>
- </body>
+<div id="console"></div>
+This test is testing that we can navigate on links with divs inside.
+</body>
</html>
« no previous file with comments | « no previous file | LayoutTests/fast/spatial-navigation/snav-div-in-anchor-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698