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

Side by Side Diff: LayoutTests/accessibility/scroll-to-make-visible-main-window.html

Issue 661183002: Fix case where accessible scrollToMakeVisible didn't work. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix test expectation Created 6 years, 2 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 | « no previous file | LayoutTests/accessibility/scroll-to-make-visible-main-window-expected.txt » ('j') | 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 <head> 2 <head>
3 <script src="../resources/js-test.js"></script> 3 <script src="../resources/js-test.js"></script>
4 </head> 4 </head>
5 <body> 5 <body>
6 6
7 <p id="description"></p> 7 <p id="description"></p>
8 8
9 <button id="upper_target">Upper Target</button> 9 <button id="upper_target">Upper Target</button>
10 <div style="border: 1px solid #000; height: 5000px;">5000-pixel box</div> 10 <div style="border: 1px solid #000; height: 5000px;">5000-pixel box</div>
11 <button id="lower_target">Lower Target</button> 11 <button id="lower_target">Lower Target</button>
12 <div style="border: 1px solid #000; height: 5000px;">5000-pixel box</div>
12 13
13 <div id="console"></div> 14 <div id="console"></div>
14 15
15 <script> 16 <script>
16 description("Tests that scrolling to make an element visible successfully scroll s the main window."); 17 description("Tests that scrolling to make an element visible successfully scroll s the main window.");
17 18
18 function runTest() { 19 function runTest() {
19 var upperTarget = document.getElementById("upper_target"); 20 var upperTarget = document.getElementById("upper_target");
20 var lowerTarget = document.getElementById("lower_target"); 21 var lowerTarget = document.getElementById("lower_target");
21 22
(...skipping 26 matching lines...) Expand all
48 49
49 finishJSTest(); 50 finishJSTest();
50 } 51 }
51 52
52 runTest(); 53 runTest();
53 54
54 </script> 55 </script>
55 56
56 </body> 57 </body>
57 </html> 58 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/accessibility/scroll-to-make-visible-main-window-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698