summaryrefslogtreecommitdiffstats
path: root/layout/generic/test/test_plugin_clipping2.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'layout/generic/test/test_plugin_clipping2.xhtml')
-rw-r--r--layout/generic/test/test_plugin_clipping2.xhtml21
1 files changed, 21 insertions, 0 deletions
diff --git a/layout/generic/test/test_plugin_clipping2.xhtml b/layout/generic/test/test_plugin_clipping2.xhtml
new file mode 100644
index 000000000..2bf879b5a
--- /dev/null
+++ b/layout/generic/test/test_plugin_clipping2.xhtml
@@ -0,0 +1,21 @@
+<?xml version="1.0"?>
+<?xml-stylesheet href="/tests/SimpleTest/test.css" type="text/css"?>
+<html xmlns="http://www.w3.org/1999/xhtml" title="Test Plugin Clipping: Dynamic Tests">
+<head>
+ <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
+</head>
+<body>
+
+<script class="testbody" type="application/javascript">
+<![CDATA[
+if (navigator.platform.indexOf("Mac") == 0) {
+ todo(false, "Mac plugins do not support complex clipping");
+} else {
+ window.open("plugin_clipping_helper2.xhtml", "", "width=620,height=320");
+ SimpleTest.waitForExplicitFinish();
+}
+]]>
+</script>
+
+</body>
+</html>