summaryrefslogtreecommitdiffstats
path: root/layout/style/test/chrome/test_bug418986-2.xul
diff options
context:
space:
mode:
Diffstat (limited to 'layout/style/test/chrome/test_bug418986-2.xul')
-rw-r--r--layout/style/test/chrome/test_bug418986-2.xul30
1 files changed, 30 insertions, 0 deletions
diff --git a/layout/style/test/chrome/test_bug418986-2.xul b/layout/style/test/chrome/test_bug418986-2.xul
new file mode 100644
index 000000000..2e5f8e687
--- /dev/null
+++ b/layout/style/test/chrome/test_bug418986-2.xul
@@ -0,0 +1,30 @@
+<?xml version="1.0"?>
+<?xml-stylesheet type="text/css" href="chrome://global/skin"?>
+<?xml-stylesheet type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css"?>
+<!--
+https://bugzilla.mozilla.org/show_bug.cgi?id=418986
+-->
+<window title="Mozilla Bug 418986"
+ xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
+ <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
+ <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SpawnTask.js"/>
+ <!-- test results are displayed in the html:body -->
+ <body xmlns="http://www.w3.org/1999/xhtml">
+ <style id="test-css" scoped="true"></style>
+ <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=418986"
+ target="_blank">Mozilla Bug 418986</a>
+ <p id="display"></p>
+ <p id="pictures"></p>
+ </body>
+
+ <script type="text/javascript;version=1.7" src="bug418986-2.js"></script>
+ <!-- test code goes here -->
+ <script type="text/javascript;version=1.7">
+ // Run all tests now.
+ window.onload = function () {
+ add_task(function* () {
+ yield test(false);
+ });
+ };
+ </script>
+</window>