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

Side by Side Diff: LayoutTests/fast/frames/seamless/seamless-quirks.html

Issue 138443013: Remove iframe@seamless (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Include remove tests Created 6 years, 11 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="../../../resources/js-test.js"></script>
3 <div id="parent" style="width: 200px; height: 200px;">
4 <iframe id="iframe" seamless src="resources/quirks-square.html"></iframe>
5 </div>
6 <script>
7 debug("Test that a quirks-mode document inside a seamless iframe sizes correctly .")
8 window.onload = function () {
9 window.iframe = document.getElementById("iframe");
10 shouldBeTrue("iframe.seamless");
11 shouldBeEqualToString("iframe.contentDocument.compatMode", "BackCompat");
12
13 // Quirks mode seamless frames should not expand to fill the window.
14 shouldBeEqualToString("window.getComputedStyle(iframe).width", "200px");
15 shouldBeEqualToString("window.getComputedStyle(iframe).height", "100px");
16 }
17 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698