+
+
diff --git a/layout/reftests/reftest-sanity/html-vs-xhtml-by-extension.html b/layout/reftests/reftest-sanity/html-vs-xhtml-by-extension.html
new file mode 100644
index 0000000000..033e9ad72d
--- /dev/null
+++ b/layout/reftests/reftest-sanity/html-vs-xhtml-by-extension.html
@@ -0,0 +1,19 @@
+
+
+
+
+ Test that XHTML vs. HTML processing decision is made by file extension
+
+
+
+
+
This is a paragraph.
+
This is a paragraph.
+
+
+
+
+
diff --git a/layout/reftests/reftest-sanity/html-vs-xhtml-by-extension.xhtml b/layout/reftests/reftest-sanity/html-vs-xhtml-by-extension.xhtml
new file mode 100644
index 0000000000..033e9ad72d
--- /dev/null
+++ b/layout/reftests/reftest-sanity/html-vs-xhtml-by-extension.xhtml
@@ -0,0 +1,19 @@
+
+
+
+
+ Test that XHTML vs. HTML processing decision is made by file extension
+
+
+
+
+
This is a paragraph.
+
This is a paragraph.
+
+
+
+
+
diff --git a/layout/reftests/reftest-sanity/invalidation.html b/layout/reftests/reftest-sanity/invalidation.html
new file mode 100644
index 0000000000..85c3a16fd3
--- /dev/null
+++ b/layout/reftests/reftest-sanity/invalidation.html
@@ -0,0 +1,12 @@
+
+
+
+
+
+
diff --git a/layout/reftests/reftest-sanity/needs-focus.html b/layout/reftests/reftest-sanity/needs-focus.html
new file mode 100644
index 0000000000..10fdada2bd
--- /dev/null
+++ b/layout/reftests/reftest-sanity/needs-focus.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+
+
diff --git a/layout/reftests/reftest-sanity/no-root.html b/layout/reftests/reftest-sanity/no-root.html
new file mode 100644
index 0000000000..9ed41863a6
--- /dev/null
+++ b/layout/reftests/reftest-sanity/no-root.html
@@ -0,0 +1,8 @@
+
+
+
+
+
+
diff --git a/layout/reftests/reftest-sanity/page-height-2.1in.html b/layout/reftests/reftest-sanity/page-height-2.1in.html
new file mode 100644
index 0000000000..4c77439eef
--- /dev/null
+++ b/layout/reftests/reftest-sanity/page-height-2.1in.html
@@ -0,0 +1,8 @@
+
+
+Test that reftest-paged page content height is 2 inches (3 inch page, half inch margins)
+
+
hello
diff --git a/layout/reftests/reftest-sanity/page-height-2in.html b/layout/reftests/reftest-sanity/page-height-2in.html
new file mode 100644
index 0000000000..db2d927db2
--- /dev/null
+++ b/layout/reftests/reftest-sanity/page-height-2in.html
@@ -0,0 +1,8 @@
+
+
+Test that reftest-paged page content height is 2 inches (3 inch page, half inch margins)
+
+
hello
diff --git a/layout/reftests/reftest-sanity/page-height-forcebreak.html b/layout/reftests/reftest-sanity/page-height-forcebreak.html
new file mode 100644
index 0000000000..6fc306b181
--- /dev/null
+++ b/layout/reftests/reftest-sanity/page-height-forcebreak.html
@@ -0,0 +1,8 @@
+
+
+Test that reftest-paged page content height is 2 inches (3 inch page, half inch margins)
+
+
hello
+
diff --git a/layout/reftests/reftest-sanity/page-height-nobreak.html b/layout/reftests/reftest-sanity/page-height-nobreak.html
new file mode 100644
index 0000000000..6c4e832ce3
--- /dev/null
+++ b/layout/reftests/reftest-sanity/page-height-nobreak.html
@@ -0,0 +1,7 @@
+
+
+Test that reftest-paged page content height is 2 inches (3 inch page, half inch margins)
+
+
hello
diff --git a/layout/reftests/reftest-sanity/page-width-3.9in.html b/layout/reftests/reftest-sanity/page-width-3.9in.html
new file mode 100644
index 0000000000..25a727bc60
--- /dev/null
+++ b/layout/reftests/reftest-sanity/page-width-3.9in.html
@@ -0,0 +1,8 @@
+
+
+Test that reftest-paged page content width is 4 inches (5 inch page, half inch margins)
+
+
hello
diff --git a/layout/reftests/reftest-sanity/page-width-4.1in.html b/layout/reftests/reftest-sanity/page-width-4.1in.html
new file mode 100644
index 0000000000..8791e58679
--- /dev/null
+++ b/layout/reftests/reftest-sanity/page-width-4.1in.html
@@ -0,0 +1,8 @@
+
+
+Test that reftest-paged page content width is 4 inches (5 inch page, half inch margins)
+
+
hello
diff --git a/layout/reftests/reftest-sanity/page-width-4in.html b/layout/reftests/reftest-sanity/page-width-4in.html
new file mode 100644
index 0000000000..b9576b5c48
--- /dev/null
+++ b/layout/reftests/reftest-sanity/page-width-4in.html
@@ -0,0 +1,8 @@
+
+
+Test that reftest-paged page content width is 4 inches (5 inch page, half inch margins)
+
+
hello
diff --git a/layout/reftests/reftest-sanity/page-width-auto.html b/layout/reftests/reftest-sanity/page-width-auto.html
new file mode 100644
index 0000000000..fccc0f9b9c
--- /dev/null
+++ b/layout/reftests/reftest-sanity/page-width-auto.html
@@ -0,0 +1,8 @@
+
+
+Test that reftest-paged page content width is 4 inches (5 inch page, half inch margins)
+
+
hello
diff --git a/layout/reftests/reftest-sanity/prefix-suffix.html b/layout/reftests/reftest-sanity/prefix-suffix.html
new file mode 100644
index 0000000000..fed54adbdd
--- /dev/null
+++ b/layout/reftests/reftest-sanity/prefix-suffix.html
@@ -0,0 +1,17 @@
+
+
+
+suffix - test url-prefix for script test
+
+
+
+
+
+
diff --git a/layout/reftests/reftest-sanity/prefix/suffix.html b/layout/reftests/reftest-sanity/prefix/suffix.html
new file mode 100644
index 0000000000..fa99971a51
--- /dev/null
+++ b/layout/reftests/reftest-sanity/prefix/suffix.html
@@ -0,0 +1,17 @@
+
+
+
+suffix - test url-prefix containing / for script test
+
+
+
+
suffix - test url-prefix containing / for script test
+
+
diff --git a/layout/reftests/reftest-sanity/prefix/urlprefixtests-include.list b/layout/reftests/reftest-sanity/prefix/urlprefixtests-include.list
new file mode 100644
index 0000000000..62e08a2d4f
--- /dev/null
+++ b/layout/reftests/reftest-sanity/prefix/urlprefixtests-include.list
@@ -0,0 +1,7 @@
+# test url-prefix on include commands.
+
+# This include file should not be loaded if url-prefix is ignored for
+# the include command in ../urlprefixtests.list. The test fails if
+# this test is loaded.
+
+script scripttest-fail.html
diff --git a/layout/reftests/reftest-sanity/red.html b/layout/reftests/reftest-sanity/red.html
new file mode 100644
index 0000000000..a9db5be4df
--- /dev/null
+++ b/layout/reftests/reftest-sanity/red.html
@@ -0,0 +1,6 @@
+
+
+
+
Text
+
+
diff --git a/layout/reftests/reftest-sanity/reftest-assigned-layer-fail-1.html b/layout/reftests/reftest-sanity/reftest-assigned-layer-fail-1.html
new file mode 100644
index 0000000000..c1810a67f7
--- /dev/null
+++ b/layout/reftests/reftest-sanity/reftest-assigned-layer-fail-1.html
@@ -0,0 +1,52 @@
+
+
+
+This test will fail because .high-z is not in the same layer as .low-z
+
+
+
+
+
+
+
+
diff --git a/layout/reftests/reftest-sanity/reftest-assigned-layer-fail-2.html b/layout/reftests/reftest-sanity/reftest-assigned-layer-fail-2.html
new file mode 100644
index 0000000000..16c36860a0
--- /dev/null
+++ b/layout/reftests/reftest-sanity/reftest-assigned-layer-fail-2.html
@@ -0,0 +1,52 @@
+
+
+
+This test will fail because .mid-z is not in the same layer as .low-z
+
+
+
+
+
+
+
+
diff --git a/layout/reftests/reftest-sanity/reftest-assigned-layer-fail-3.html b/layout/reftests/reftest-sanity/reftest-assigned-layer-fail-3.html
new file mode 100644
index 0000000000..6e97dfba63
--- /dev/null
+++ b/layout/reftests/reftest-sanity/reftest-assigned-layer-fail-3.html
@@ -0,0 +1,52 @@
+
+
+
+This test will fail because .high-z is not in the same layer as .mid-z
+
+
+
+
+
+
+
+
diff --git a/layout/reftests/reftest-sanity/reftest-assigned-layer-fail-4.html b/layout/reftests/reftest-sanity/reftest-assigned-layer-fail-4.html
new file mode 100644
index 0000000000..92bcbdbdc4
--- /dev/null
+++ b/layout/reftests/reftest-sanity/reftest-assigned-layer-fail-4.html
@@ -0,0 +1,52 @@
+
+
+
+This test will fail because the some-other-layer gets merged into the page background layer
+
+
+
+
+
+
+
+
diff --git a/layout/reftests/reftest-sanity/reftest-assigned-layer-pass.html b/layout/reftests/reftest-sanity/reftest-assigned-layer-pass.html
new file mode 100644
index 0000000000..19dc004d81
--- /dev/null
+++ b/layout/reftests/reftest-sanity/reftest-assigned-layer-pass.html
@@ -0,0 +1,48 @@
+
+
+
+Both divs should be part of opaque layers.
+
+
+
+
+
+
+
+
diff --git a/layout/reftests/reftest-sanity/reftest-no-flush-ref.html b/layout/reftests/reftest-sanity/reftest-no-flush-ref.html
new file mode 100644
index 0000000000..6cc270a570
--- /dev/null
+++ b/layout/reftests/reftest-sanity/reftest-no-flush-ref.html
@@ -0,0 +1,20 @@
+
+
+
+
+
diff --git a/layout/reftests/reftest-sanity/reftest-no-flush.html b/layout/reftests/reftest-sanity/reftest-no-flush.html
new file mode 100644
index 0000000000..8893e6eb71
--- /dev/null
+++ b/layout/reftests/reftest-sanity/reftest-no-flush.html
@@ -0,0 +1,39 @@
+
+
+
+
+
+
diff --git a/layout/reftests/reftest-sanity/reftest-no-paint-ref.html b/layout/reftests/reftest-sanity/reftest-no-paint-ref.html
new file mode 100644
index 0000000000..f8b0679de6
--- /dev/null
+++ b/layout/reftests/reftest-sanity/reftest-no-paint-ref.html
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
diff --git a/layout/reftests/reftest-sanity/reftest-opaque-layer-fail.html b/layout/reftests/reftest-sanity/reftest-opaque-layer-fail.html
new file mode 100644
index 0000000000..bb8a17e858
--- /dev/null
+++ b/layout/reftests/reftest-sanity/reftest-opaque-layer-fail.html
@@ -0,0 +1,29 @@
+
+
+
+The fixed layer can't be opaque, so this test must fail.
+
+
+
+
+
+
diff --git a/layout/reftests/reftest-sanity/reftest-opaque-layer-pass.html b/layout/reftests/reftest-sanity/reftest-opaque-layer-pass.html
new file mode 100644
index 0000000000..6286bb36b8
--- /dev/null
+++ b/layout/reftests/reftest-sanity/reftest-opaque-layer-pass.html
@@ -0,0 +1,33 @@
+
+
+
+Both divs should be part of opaque layers.
+
+
+
+
+
+
diff --git a/layout/reftests/reftest-sanity/reftest-opaque-layer-wait-fail.html b/layout/reftests/reftest-sanity/reftest-opaque-layer-wait-fail.html
new file mode 100644
index 0000000000..50e1dd86e3
--- /dev/null
+++ b/layout/reftests/reftest-sanity/reftest-opaque-layer-wait-fail.html
@@ -0,0 +1,43 @@
+
+
+
+The fixed layer can't be opaque in the final paint, so this test must fail.
+
+
+
+
+
+
+
+
diff --git a/layout/reftests/reftest-sanity/reftest-opaque-layer-wait-pass.html b/layout/reftests/reftest-sanity/reftest-opaque-layer-wait-pass.html
new file mode 100644
index 0000000000..9fdc303533
--- /dev/null
+++ b/layout/reftests/reftest-sanity/reftest-opaque-layer-wait-pass.html
@@ -0,0 +1,48 @@
+
+
+
+Both divs should be part of opaque layers in the final paint.
+
+
+
+
+
+
+
+
+
diff --git a/layout/reftests/reftest-sanity/reftest-resolution-ref.html b/layout/reftests/reftest-sanity/reftest-resolution-ref.html
new file mode 100644
index 0000000000..51b6d7afcc
--- /dev/null
+++ b/layout/reftests/reftest-sanity/reftest-resolution-ref.html
@@ -0,0 +1,16 @@
+
+
+
+
diff --git a/layout/reftests/reftest-sanity/reftest-resolution.html b/layout/reftests/reftest-sanity/reftest-resolution.html
new file mode 100644
index 0000000000..d9a5f7b5e7
--- /dev/null
+++ b/layout/reftests/reftest-sanity/reftest-resolution.html
@@ -0,0 +1,16 @@
+
+
+
+
diff --git a/layout/reftests/reftest-sanity/reftest.list b/layout/reftests/reftest-sanity/reftest.list
new file mode 100644
index 0000000000..10c68a7c01
--- /dev/null
+++ b/layout/reftests/reftest-sanity/reftest.list
@@ -0,0 +1,217 @@
+== data:text/html, about:blank
+== data:text/plain, about:blank
+!= data:text/plain,HELLO about:blank
+
+# these tests make sure async reftests work:
+== chrome://reftest/content/reftest-sanity/test-async.xhtml chrome://reftest/content/reftest-sanity/test-async-ref.xhtml
+== test-async.html test-async-ref.html
+
+# test that zoom works (and really zooms, not just scales)
+== test-zoom.html test-zoom-ref.html
+
+== text-zoom.html text-zoom-ref.html
+!= text-zoom.html text-zoom-notref.html
+
+# make sure we don't fall over if the root is missing
+== no-root.html about:blank
+
+# Makes sure that the file: protocol handler and HTTP server both
+# choose HTML vs. XHTML processing based on the file extensions.
+!= html-vs-xhtml-by-extension.html html-vs-xhtml-by-extension.xhtml
+HTTP != html-vs-xhtml-by-extension.html html-vs-xhtml-by-extension.xhtml
+
+# make sure red and green colors are not the default and are different from
+# each other
+!= green.html default.html
+!= green.html red.html
+!= red.html default.html
+
+# Make sure about:blank works, even via HTTP.
+== blank.html about:blank
+== about:blank blank.html
+HTTP == blank.html about:blank
+HTTP == about:blank blank.html
+# same for data:
+== default.html data:text/html,
diff --git a/layout/reftests/reftest-sanity/too-fuzzy.html b/layout/reftests/reftest-sanity/too-fuzzy.html
new file mode 100644
index 0000000000..e9b5c2ce5a
--- /dev/null
+++ b/layout/reftests/reftest-sanity/too-fuzzy.html
@@ -0,0 +1,6 @@
+
+
+
+
+
+
diff --git a/layout/reftests/reftest-sanity/urlprefixtests-include.list b/layout/reftests/reftest-sanity/urlprefixtests-include.list
new file mode 100644
index 0000000000..623d5b0239
--- /dev/null
+++ b/layout/reftests/reftest-sanity/urlprefixtests-include.list
@@ -0,0 +1,6 @@
+# test url-prefix on include commands.
+
+# This include file should be loaded if url-prefix is ignored for
+# the include command in urlprefixtests.list.
+
+script scripttest-pass.html
diff --git a/layout/reftests/reftest-sanity/urlprefixtests.list b/layout/reftests/reftest-sanity/urlprefixtests.list
new file mode 100644
index 0000000000..0d55fc33e2
--- /dev/null
+++ b/layout/reftests/reftest-sanity/urlprefixtests.list
@@ -0,0 +1,23 @@
+# test url-prefix
+
+# test that url-prefix is not be applied to absolute uris.
+url-prefix absolute
+
+== data:text/html, about:blank
+== data:text/plain, about:blank
+!= data:text/plain,HELLO about:blank
+
+# test that url-prefix is applied to test items.
+url-prefix prefix-
+
+script suffix.html
+
+# test if url-prefix containing / works.
+url-prefix prefix/
+
+script suffix.html
+
+# test that url-prefix should not be applied to include commands.
+
+include urlprefixtests-include.list
+
diff --git a/layout/reftests/reftest-sanity/zoom-invalidation-ref.html b/layout/reftests/reftest-sanity/zoom-invalidation-ref.html
new file mode 100644
index 0000000000..e51d313131
--- /dev/null
+++ b/layout/reftests/reftest-sanity/zoom-invalidation-ref.html
@@ -0,0 +1,6 @@
+
+
+
+
+
+
diff --git a/layout/reftests/reftest-sanity/zoom-invalidation.html b/layout/reftests/reftest-sanity/zoom-invalidation.html
new file mode 100644
index 0000000000..98e5655e90
--- /dev/null
+++ b/layout/reftests/reftest-sanity/zoom-invalidation.html
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
--
cgit v1.2.3