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

Side by Side Diff: LayoutTests/fast/frames/frameset-frameborder-boolean-values.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 2
3 <script src="../js/resources/js-test-pre.js"></script> 3 <script src="../js/resources/js-test-pre.js"></script>
4 4
5 <iframe data-test="frameborder=1 is true" data-assert-frame-width="145"> 5 <iframe data-test="frameborder=1 is true" data-assert-frame-width="145">
6 <!doctype html> 6 <!doctype html>
7 <!-- 7 <!--
8 To test true values we need to nest in a false value first since the 8 To test true values we need to nest in a false value first since the
9 default value is already true. If we didn't do this then the tests would 9 default value is already true. If we didn't do this then the tests would
10 pass even if the browser ignored the attribute entirely. 10 pass even if the browser ignored the attribute entirely.
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 frameset = iframe.contentDocument.querySelector('frameset'); 71 frameset = iframe.contentDocument.querySelector('frameset');
72 expectedWidth = iframe.dataset.assertFrameWidth; 72 expectedWidth = iframe.dataset.assertFrameWidth;
73 frames = frameset.querySelectorAll('frame'); 73 frames = frameset.querySelectorAll('frame');
74 debug(iframe.dataset.test); 74 debug(iframe.dataset.test);
75 shouldBe('frames[0].offsetWidth', expectedWidth); 75 shouldBe('frames[0].offsetWidth', expectedWidth);
76 shouldBe('frames[1].offsetWidth', expectedWidth); 76 shouldBe('frames[1].offsetWidth', expectedWidth);
77 debug('<br>'); 77 debug('<br>');
78 }); 78 });
79 </script> 79 </script>
80 80
81 <script src="../js/resources/js-test-post.js"></script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698