From 46e4f5d44d9e250da6f6fc22dcc80257313969e4 Mon Sep 17 00:00:00 2001 From: "heikki%netscape.com" Date: Fri, 14 Sep 2001 22:02:43 +0000 Subject: [PATCH] Not part of build. New tests. --- content/xml/tests/load/display.css | 298 ++++++++++++++++++++++++ content/xml/tests/load/display.xml | 9 + content/xml/tests/load/load.html | 2 +- content/xml/tests/load/loaddisplay.html | 57 +++++ 4 files changed, 365 insertions(+), 1 deletion(-) create mode 100644 content/xml/tests/load/display.css create mode 100644 content/xml/tests/load/display.xml create mode 100644 content/xml/tests/load/loaddisplay.html diff --git a/content/xml/tests/load/display.css b/content/xml/tests/load/display.css new file mode 100644 index 00000000000..c5470194bd2 --- /dev/null +++ b/content/xml/tests/load/display.css @@ -0,0 +1,298 @@ +/** + * A CSS test file for display.xml + * + * This file is intentionally long to make parsing + * it last a little longer. + */ + +/*********************************************** + * S O M E C O M M E N T S * + **********************************************/ +doc { + display: block; +} + +/*********************************************** + * S O M E C O M M E N T S * + **********************************************/ +foo { + display: block; +} + +/*********************************************** + * S O M E C O M M E N T S * + **********************************************/ +d { + display: block; + color: red; +} + +/*********************************************** + * S O M E C O M M E N T S * + **********************************************/ +f1 { + display: block; + color: red; + text-decoration: underline; +} + +/*********************************************** + * S O M E C O M M E N T S * + **********************************************/ +f2 { + display: block; + color: red; + text-decoration: underline; +} + +/*********************************************** + * S O M E C O M M E N T S * + **********************************************/ +f3 { + display: block; + color: red; + text-decoration: underline; +} + +/*********************************************** + * S O M E C O M M E N T S * + **********************************************/ +f4 { + display: block; + color: red; + text-decoration: underline; +} + +/*********************************************** + * S O M E C O M M E N T S * + **********************************************/ +f5 { + display: block; + color: red; + text-decoration: underline; +} + +/*********************************************** + * S O M E C O M M E N T S * + **********************************************/ +f6 { + display: block; + color: red; + text-decoration: underline; +} + +/*********************************************** + * S O M E C O M M E N T S * + **********************************************/ +f7 { + display: block; + color: red; + text-decoration: underline; +} + +/*********************************************** + * S O M E C O M M E N T S * + **********************************************/ +f8 { + display: block; + color: red; + text-decoration: underline; +} + +/*********************************************** + * S O M E C O M M E N T S * + **********************************************/ +f9 { + display: block; + color: red; + text-decoration: underline; +} + +/*********************************************** + * S O M E C O M M E N T S * + **********************************************/ +f10 { + display: block; + color: red; + text-decoration: underline; +} + +/*********************************************** + * S O M E C O M M E N T S * + **********************************************/ +f11 { + display: block; + color: red; + text-decoration: underline; +} + +/*********************************************** + * S O M E C O M M E N T S * + **********************************************/ +f12 { + display: block; + color: red; + text-decoration: underline; +} + +/*********************************************** + * S O M E C O M M E N T S * + **********************************************/ +f13 { + display: block; + color: red; + text-decoration: underline; +} + +/*********************************************** + * S O M E C O M M E N T S * + **********************************************/ +f14 { + display: block; + color: red; + text-decoration: underline; +} + +/*********************************************** + * S O M E C O M M E N T S * + **********************************************/ +f15 { + display: block; + color: red; + text-decoration: underline; +} + +/*********************************************** + * S O M E C O M M E N T S * + **********************************************/ +f21 { + display: block; + color: red; + text-decoration: underline; +} + +/*********************************************** + * S O M E C O M M E N T S * + **********************************************/ +f22 { + display: block; + color: red; + text-decoration: underline; +} + +/*********************************************** + * S O M E C O M M E N T S * + **********************************************/ +f23 { + display: block; + color: red; + text-decoration: underline; +} + +/*********************************************** + * S O M E C O M M E N T S * + **********************************************/ +f24 { + display: block; + color: red; + text-decoration: underline; +} + +/*********************************************** + * S O M E C O M M E N T S * + **********************************************/ +f25 { + display: block; + color: red; + text-decoration: underline; +} + +/*********************************************** + * S O M E C O M M E N T S * + **********************************************/ +f26 { + display: block; + color: red; + text-decoration: underline; +} + +/*********************************************** + * S O M E C O M M E N T S * + **********************************************/ +f27 { + display: block; + color: red; + text-decoration: underline; +} + +/*********************************************** + * S O M E C O M M E N T S * + **********************************************/ +f28 { + display: block; + color: red; + text-decoration: underline; +} + +/*********************************************** + * S O M E C O M M E N T S * + **********************************************/ +f29 { + display: block; + color: red; + text-decoration: underline; +} + +/*********************************************** + * S O M E C O M M E N T S * + **********************************************/ +f210 { + display: block; + color: red; + text-decoration: underline; +} + +/*********************************************** + * S O M E C O M M E N T S * + **********************************************/ +f211 { + display: block; + color: red; + text-decoration: underline; +} + +/*********************************************** + * S O M E C O M M E N T S * + **********************************************/ +f212 { + display: block; + color: red; + text-decoration: underline; +} + +/*********************************************** + * S O M E C O M M E N T S * + **********************************************/ +f213 { + display: block; + color: red; + text-decoration: underline; +} + +/*********************************************** + * S O M E C O M M E N T S * + **********************************************/ +f214 { + display: block; + color: red; + text-decoration: underline; +} + +/*********************************************** + * S O M E C O M M E N T S * + **********************************************/ +f215 { + display: block; + color: red; + text-decoration: underline; +} diff --git a/content/xml/tests/load/display.xml b/content/xml/tests/load/display.xml new file mode 100644 index 00000000000..25a0e30265d --- /dev/null +++ b/content/xml/tests/load/display.xml @@ -0,0 +1,9 @@ + + + +]> + + One Two + Three + \ No newline at end of file diff --git a/content/xml/tests/load/load.html b/content/xml/tests/load/load.html index 03d4fb8a2bc..cd4209ec963 100644 --- a/content/xml/tests/load/load.html +++ b/content/xml/tests/load/load.html @@ -22,7 +22,7 @@ function documentLoaded(e) { var s = new XMLSerializer(); var str = s.serializeToString(xmlDoc); document.getElementById("id1").firstChild.nodeValue = str; - var eventProperties; + var eventProperties = ""; for (prop in e) { eventProperties += prop + " : '" + e[prop] + "'\n"; } diff --git a/content/xml/tests/load/loaddisplay.html b/content/xml/tests/load/loaddisplay.html new file mode 100644 index 00000000000..ff4027229f9 --- /dev/null +++ b/content/xml/tests/load/loaddisplay.html @@ -0,0 +1,57 @@ + + +Synchronized document.load() test + + + + +

Synchronized document.load() test

+ +
XML document serialized +
@@No result@@
+
+
Event information +
@@No result@@
+
+ + + +