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

Side by Side Diff: LayoutTests/fast/spatial-navigation/snav-only-clipped-overflow-content.html

Issue 48903019: Delete js-test-post.js. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 <html> 1 <html>
2 <!-- 2 <!--
3 This test ensures the content overflow traversal correctness of spatial navi gation: 3 This test ensures the content overflow traversal correctness of spatial navi gation:
4 if an element if clipped overflow in a scrollable container (e.g. <div>), 4 if an element if clipped overflow in a scrollable container (e.g. <div>),
5 scroll-in-direction should happen in the container box, not on the outer vie w. 5 scroll-in-direction should happen in the container box, not on the outer vie w.
6 6
7 * Pre-conditions: 7 * Pre-conditions:
8 1) DRT support for spatial navigation enable/disable. 8 1) DRT support for spatial navigation enable/disable.
9 9
10 * Navigation steps: 10 * Navigation steps:
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 { 55 {
56 shouldBeTrue(String(document.getElementById("div").scrollTop != 0)); 56 shouldBeTrue(String(document.getElementById("div").scrollTop != 0));
57 57
58 if (window.testRunner) 58 if (window.testRunner)
59 testRunner.notifyDone(); 59 testRunner.notifyDone();
60 } 60 }
61 61
62 window.onload = runTest; 62 window.onload = runTest;
63 63
64 </script> 64 </script>
65 <script src="js/resources/js-test-post.js"></script>
66 </head> 65 </head>
67 <body id="some-content" xmlns="http://www.w3.org/1999/xhtml"> 66 <body id="some-content" xmlns="http://www.w3.org/1999/xhtml">
68 <p>That is is a normal <a id="start" href="a">link</a>.</p> 67 <p>That is is a normal <a id="start" href="a">link</a>.</p>
69 <div class="scroll" id="div"> 68 <div class="scroll" id="div">
70 <p>This is a scrollable Div created with the CSS property overflow.</p> 69 <p>This is a scrollable Div created with the CSS property overflow.</p>
71 <br><br><br><br><br><br><br><br> 70 <br><br><br><br><br><br><br><br>
72 <p> ... and here we have a clipped overflow <a id="1" href="a">link</a>.</ p> 71 <p> ... and here we have a clipped overflow <a id="1" href="a">link</a>.</ p>
73 </div> 72 </div>
74 <p>And this is another normal <a id="2" href="a">link_2</a>.</p> 73 <p>And this is another normal <a id="2" href="a">link_2</a>.</p>
75 <div id="console"></div> 74 <div id="console"></div>
76 </body> 75 </body>
77 </html> 76 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/spatial-navigation/snav-offscreen-content.html ('k') | LayoutTests/fast/spatial-navigation/snav-radio.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698