summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/manual-tests/window-print-subframe.html
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/manual-tests/window-print-subframe.html')
-rwxr-xr-xSource/WebCore/manual-tests/window-print-subframe.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/WebCore/manual-tests/window-print-subframe.html b/Source/WebCore/manual-tests/window-print-subframe.html
new file mode 100755
index 0000000..39047b3
--- /dev/null
+++ b/Source/WebCore/manual-tests/window-print-subframe.html
@@ -0,0 +1,5 @@
+<script>
+ window.onload = function() { frames[0].print(); }
+</script>
+<p>This text in the main frame should not be printed.</p>
+<iframe src="resources/print-subframe.html">