mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 12:25:53 +00:00
fixing up test for more variants
This commit is contained in:
parent
c7f42486a8
commit
5a1daf5a2a
@ -1,10 +1,23 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<style>
|
||||
@media print {
|
||||
|
||||
iframe.hide {
|
||||
display: none;
|
||||
}
|
||||
|
||||
}
|
||||
</style>
|
||||
<TITLE>Sub Doc 1</TITLE>
|
||||
<BASE target="header">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<iframe src=the_iframe.html style="visibility:hidden;"></iframe>
|
||||
You should see 2 iframes when in the Browser<br>
|
||||
You should see 1 iframe for Printing and Print Preview<br>
|
||||
<iframe src=the_iframe1.html></iframe><br>
|
||||
<iframe class=hide src=the_iframe2.html></iframe><br>
|
||||
<iframe src=the_iframe3.html style="visibility:hidden;"></iframe><br>
|
||||
Line 1<br>
|
||||
Line 2<br>
|
||||
Line 3<br>
|
||||
|
6
layout/html/tests/printer/hidden_iframe/the_iframe1.html
Normal file
6
layout/html/tests/printer/hidden_iframe/the_iframe1.html
Normal file
@ -0,0 +1,6 @@
|
||||
<html>
|
||||
<body>
|
||||
This is some body text.
|
||||
<hr>
|
||||
</form>
|
||||
</body>
|
6
layout/html/tests/printer/hidden_iframe/the_iframe2.html
Normal file
6
layout/html/tests/printer/hidden_iframe/the_iframe2.html
Normal file
@ -0,0 +1,6 @@
|
||||
<html>
|
||||
<body>
|
||||
This IFrame should be hidden when printined or Print Previewed
|
||||
<hr>
|
||||
</form>
|
||||
</body>
|
6
layout/html/tests/printer/hidden_iframe/the_iframe3.html
Normal file
6
layout/html/tests/printer/hidden_iframe/the_iframe3.html
Normal file
@ -0,0 +1,6 @@
|
||||
<html>
|
||||
<body>
|
||||
This IFrame should always be hidden.
|
||||
<hr>
|
||||
</form>
|
||||
</body>
|
Loading…
Reference in New Issue
Block a user