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

Side by Side Diff: LayoutTests/fast/overflow/scroll-div-hide-show.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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <meta charset="utf-8"> 4 <meta charset="utf-8">
5 <script src="../js/resources/js-test-pre.js"></script> 5 <script src="../js/resources/js-test-pre.js"></script>
6 </head> 6 </head>
7 <body> 7 <body>
8 <p>Scrolled position should be restored when the div is hidden and shown again</ p> 8 <p>Scrolled position should be restored when the div is hidden and shown again</ p>
9 <div style="height:100px; width:100px; overflow: scroll; display: block;" id="ma in"> 9 <div style="height:100px; width:100px; overflow: scroll; display: block;" id="ma in">
10 <pre id="preId"> 10 <pre id="preId">
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 e.scrollTop = 75; 179 e.scrollTop = 75;
180 e.scrollLeft = 50; 180 e.scrollLeft = 50;
181 e.style.display = 'none'; 181 e.style.display = 'none';
182 frame.contentDocument.body.appendChild(e); 182 frame.contentDocument.body.appendChild(e);
183 e.style.display = 'block'; 183 e.style.display = 'block';
184 shouldBe('e.scrollTop', '0'); 184 shouldBe('e.scrollTop', '0');
185 shouldBe('e.scrollLeft', '0'); 185 shouldBe('e.scrollLeft', '0');
186 186
187 successfullyParsed = true; 187 successfullyParsed = true;
188 </script> 188 </script>
189 <script src="../js/resources/js-test-post.js"></script>
190 </body> 189 </body>
191 </html> 190 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698