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

Side by Side Diff: LayoutTests/fast/dom/iframe-inner-size-scaling.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 <script src="../js/resources/js-test-pre.js"></script> 4 <script src="../js/resources/js-test-pre.js"></script>
5 <script> 5 <script>
6 description("This tests that innerWidth/innerHeight on an frame window r eturns the size of the frame itself in CSS pixels, regardless of page scale."); 6 description("This tests that innerWidth/innerHeight on an frame window r eturns the size of the frame itself in CSS pixels, regardless of page scale.");
7 window.jsTestIsAsync = true; 7 window.jsTestIsAsync = true;
8 8
9 function runTest() { 9 function runTest() {
10 frame = document.getElementById('iframe'); 10 frame = document.getElementById('iframe');
(...skipping 11 matching lines...) Expand all
22 } 22 }
23 23
24 window.onload = function() { 24 window.onload = function() {
25 // We must use setTimeout since the innerWidth/innerHeight are not yet valid for the iframe. 25 // We must use setTimeout since the innerWidth/innerHeight are not yet valid for the iframe.
26 window.setTimeout(runTest, 0); 26 window.setTimeout(runTest, 0);
27 } 27 }
28 </script> 28 </script>
29 </head> 29 </head>
30 <body style="width: 1000px; height: 1000px"> 30 <body style="width: 1000px; height: 1000px">
31 <iframe id="iframe" style="width: 100%; height: 100%;"></iframe> 31 <iframe id="iframe" style="width: 100%; height: 100%;"></iframe>
32 <script src="../js/resources/js-test-post.js"></script>
33 </body> 32 </body>
34 </html> 33 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/icon-size-property.html ('k') | LayoutTests/fast/dom/implementation-api-args.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698