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

Side by Side Diff: LayoutTests/fast/overflow/replaced-child-100percent-height-inside-fixed-container-with-overflow-auto.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 <head> 2 <head>
3 <style type="text/css"> 3 <style type="text/css">
4 #container { 4 #container {
5 width: 200px; 5 width: 200px;
6 height: 100px; 6 height: 100px;
7 overflow: auto; 7 overflow: auto;
8 } 8 }
9 #replacedElement { 9 #replacedElement {
10 width: 200%; 10 width: 200%;
(...skipping 14 matching lines...) Expand all
25 25
26 debug('The height of the inner element box should be 100% of the containers heig ht minus the height of horizontal scrollbar. \ 26 debug('The height of the inner element box should be 100% of the containers heig ht minus the height of horizontal scrollbar. \
27 There should be no vertical scrollable content in the container<br>'); 27 There should be no vertical scrollable content in the container<br>');
28 shouldBeTrue('document.getElementById("container").scrollHeight == document.getE lementById("container").clientHeight'); 28 shouldBeTrue('document.getElementById("container").scrollHeight == document.getE lementById("container").clientHeight');
29 debug('Container height = Inner replaced element height + scrollbar height'); 29 debug('Container height = Inner replaced element height + scrollbar height');
30 shouldBeTrue('document.getElementById("container").offsetHeight > document.getEl ementById("replacedElement").offsetHeight'); 30 shouldBeTrue('document.getElementById("container").offsetHeight > document.getEl ementById("replacedElement").offsetHeight');
31 document.body.removeChild(document.getElementById('container')); 31 document.body.removeChild(document.getElementById('container'));
32 </script> 32 </script>
33 <div id="description"></div> 33 <div id="description"></div>
34 <div id="console"></div> 34 <div id="console"></div>
35 <script src="../js/resources/js-test-post.js"></script>
36 </body> 35 </body>
37 </html> 36 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698