зеркало из https://github.com/mozilla/gecko-dev.git
fixing up test for more variants
This commit is contained in:
Родитель
c7f42486a8
Коммит
5a1daf5a2a
|
@ -1,10 +1,23 @@
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
|
<style>
|
||||||
|
@media print {
|
||||||
|
|
||||||
|
iframe.hide {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
</style>
|
||||||
<TITLE>Sub Doc 1</TITLE>
|
<TITLE>Sub Doc 1</TITLE>
|
||||||
<BASE target="header">
|
<BASE target="header">
|
||||||
</HEAD>
|
</HEAD>
|
||||||
<BODY>
|
<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 1<br>
|
||||||
Line 2<br>
|
Line 2<br>
|
||||||
Line 3<br>
|
Line 3<br>
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
<html>
|
||||||
|
<body>
|
||||||
|
This is some body text.
|
||||||
|
<hr>
|
||||||
|
</form>
|
||||||
|
</body>
|
|
@ -0,0 +1,6 @@
|
||||||
|
<html>
|
||||||
|
<body>
|
||||||
|
This IFrame should be hidden when printined or Print Previewed
|
||||||
|
<hr>
|
||||||
|
</form>
|
||||||
|
</body>
|
|
@ -0,0 +1,6 @@
|
||||||
|
<html>
|
||||||
|
<body>
|
||||||
|
This IFrame should always be hidden.
|
||||||
|
<hr>
|
||||||
|
</form>
|
||||||
|
</body>
|
Загрузка…
Ссылка в новой задаче