diff --git a/layout/html/tests/printer/hidden_iframe/index.html b/layout/html/tests/printer/hidden_iframe/index.html index 95c2bc77b66c..b3d5274f7d08 100644 --- a/layout/html/tests/printer/hidden_iframe/index.html +++ b/layout/html/tests/printer/hidden_iframe/index.html @@ -1,10 +1,23 @@ + Sub Doc 1 - +You should see 2 iframes when in the Browser
+You should see 1 iframe for Printing and Print Preview
+
+
+
Line 1
Line 2
Line 3
diff --git a/layout/html/tests/printer/hidden_iframe/the_iframe1.html b/layout/html/tests/printer/hidden_iframe/the_iframe1.html new file mode 100644 index 000000000000..6e84a74af982 --- /dev/null +++ b/layout/html/tests/printer/hidden_iframe/the_iframe1.html @@ -0,0 +1,6 @@ + + +This is some body text. +
+ + diff --git a/layout/html/tests/printer/hidden_iframe/the_iframe2.html b/layout/html/tests/printer/hidden_iframe/the_iframe2.html new file mode 100644 index 000000000000..ac468426600a --- /dev/null +++ b/layout/html/tests/printer/hidden_iframe/the_iframe2.html @@ -0,0 +1,6 @@ + + +This IFrame should be hidden when printined or Print Previewed +
+ + diff --git a/layout/html/tests/printer/hidden_iframe/the_iframe3.html b/layout/html/tests/printer/hidden_iframe/the_iframe3.html new file mode 100644 index 000000000000..33776e55fe8b --- /dev/null +++ b/layout/html/tests/printer/hidden_iframe/the_iframe3.html @@ -0,0 +1,6 @@ + + +This IFrame should always be hidden. +
+ +