From 26a029d407be480d791972afb5975cf62c9360a6 Mon Sep 17 00:00:00 2001
From: Daniel Baumann
Date: Fri, 19 Apr 2024 02:47:55 +0200
Subject: Adding upstream version 124.0.1.
Signed-off-by: Daniel Baumann
---
layout/reftests/reftest-sanity/647192-1-ref.html | 12 ++
layout/reftests/reftest-sanity/647192-1.html | 16 ++
layout/reftests/reftest-sanity/656041-1-ref.html | 33 ++++
layout/reftests/reftest-sanity/656041-1.html | 33 ++++
.../reftest-sanity/async-scroll-1-ref.html | 7 +
.../reftests/reftest-sanity/async-scroll-1a.html | 11 ++
.../reftests/reftest-sanity/async-scroll-1b.html | 11 ++
.../reftests/reftest-sanity/async-scroll-1c.html | 11 ++
.../reftests/reftest-sanity/async-zoom-1-ref.html | 6 +
layout/reftests/reftest-sanity/async-zoom-1.html | 6 +
.../reftests/reftest-sanity/async-zoom-2-ref.html | 6 +
layout/reftests/reftest-sanity/async-zoom-2.html | 6 +
layout/reftests/reftest-sanity/bg.png | Bin 0 -> 110 bytes
layout/reftests/reftest-sanity/blank.html | 5 +
layout/reftests/reftest-sanity/corners-1-ref.html | 6 +
layout/reftests/reftest-sanity/corners-1.html | 6 +
layout/reftests/reftest-sanity/corners-2-ref.html | 6 +
layout/reftests/reftest-sanity/corners-2.html | 6 +
layout/reftests/reftest-sanity/corners-3-ref.html | 6 +
layout/reftests/reftest-sanity/corners-3.html | 6 +
layout/reftests/reftest-sanity/corners-4-ref.html | 6 +
layout/reftests/reftest-sanity/corners-4.html | 6 +
layout/reftests/reftest-sanity/default.html | 6 +
layout/reftests/reftest-sanity/defaults-tests.list | 30 +++
layout/reftests/reftest-sanity/div-ref.html | 7 +
layout/reftests/reftest-sanity/div.html | 8 +
.../reftests/reftest-sanity/exampleorg-1-ref.html | 1 +
layout/reftests/reftest-sanity/exampleorg-1.html | 1 +
layout/reftests/reftest-sanity/filter-1-ref.xhtml | 20 ++
layout/reftests/reftest-sanity/filter-1.xhtml | 32 +++
layout/reftests/reftest-sanity/filter-2-ref.xhtml | 16 ++
layout/reftests/reftest-sanity/filter-2.xhtml | 32 +++
layout/reftests/reftest-sanity/font-default.html | 12 ++
layout/reftests/reftest-sanity/font-download.html | 17 ++
.../reftests/reftest-sanity/font-sans-serif.html | 13 ++
layout/reftests/reftest-sanity/font-serif.html | 13 ++
layout/reftests/reftest-sanity/font-size-16.html | 13 ++
layout/reftests/reftest-sanity/font-size-24.html | 13 ++
layout/reftests/reftest-sanity/fuzzy-ref.html | 6 +
layout/reftests/reftest-sanity/fuzzy.html | 6 +
layout/reftests/reftest-sanity/green.html | 6 +
.../reftest-sanity/html-vs-xhtml-by-extension.html | 19 ++
.../html-vs-xhtml-by-extension.xhtml | 19 ++
layout/reftests/reftest-sanity/invalidation.html | 12 ++
layout/reftests/reftest-sanity/needs-focus.html | 14 ++
layout/reftests/reftest-sanity/no-root.html | 8 +
.../reftest-sanity/page-backgrounds-notref.html | 3 +
.../reftest-sanity/page-backgrounds-ref.html | 3 +
.../reftests/reftest-sanity/page-backgrounds.html | 3 +
.../reftests/reftest-sanity/page-height-2.1in.html | 8 +
.../reftests/reftest-sanity/page-height-2in.html | 8 +
.../reftest-sanity/page-height-forcebreak.html | 8 +
.../reftest-sanity/page-height-nobreak.html | 7 +
.../reftests/reftest-sanity/page-width-3.9in.html | 8 +
.../reftests/reftest-sanity/page-width-4.1in.html | 8 +
layout/reftests/reftest-sanity/page-width-4in.html | 8 +
.../reftests/reftest-sanity/page-width-auto.html | 8 +
layout/reftests/reftest-sanity/prefix-suffix.html | 17 ++
.../reftest-sanity/prefix/scripttest-fail.html | 17 ++
layout/reftests/reftest-sanity/prefix/suffix.html | 17 ++
.../prefix/urlprefixtests-include.list | 7 +
layout/reftests/reftest-sanity/red.html | 6 +
.../reftest-assigned-layer-fail-1.html | 52 +++++
.../reftest-assigned-layer-fail-2.html | 52 +++++
.../reftest-assigned-layer-fail-3.html | 52 +++++
.../reftest-assigned-layer-fail-4.html | 52 +++++
.../reftest-assigned-layer-pass.html | 48 +++++
.../reftest-sanity/reftest-no-flush-ref.html | 20 ++
.../reftests/reftest-sanity/reftest-no-flush.html | 39 ++++
.../reftest-sanity/reftest-no-paint-ref.html | 7 +
.../reftests/reftest-sanity/reftest-no-paint.html | 15 ++
.../reftest-sanity/reftest-opaque-layer-fail.html | 29 +++
.../reftest-sanity/reftest-opaque-layer-pass.html | 33 ++++
.../reftest-opaque-layer-wait-fail.html | 43 ++++
.../reftest-opaque-layer-wait-pass.html | 48 +++++
.../reftest-sanity/reftest-resolution-ref.html | 16 ++
.../reftest-sanity/reftest-resolution.html | 16 ++
layout/reftests/reftest-sanity/reftest.list | 218 +++++++++++++++++++++
.../reftests/reftest-sanity/scripttest-fail.html | 17 ++
.../reftest-sanity/scripttest-pass-fail.html | 18 ++
.../reftests/reftest-sanity/scripttest-pass.html | 17 ++
layout/reftests/reftest-sanity/scripttests.list | 10 +
layout/reftests/reftest-sanity/test-async-ref.html | 2 +
.../reftests/reftest-sanity/test-async-ref.xhtml | 3 +
layout/reftests/reftest-sanity/test-async.html | 12 ++
layout/reftests/reftest-sanity/test-async.xhtml | 15 ++
.../test-bg-attachment-fixed-ref.html | 16 ++
.../reftest-sanity/test-bg-attachment-fixed.html | 22 +++
.../reftest-sanity/test-displayport-2.html | 7 +
.../reftest-sanity/test-displayport-bg.html | 7 +
.../reftest-sanity/test-displayport-ref.html | 4 +
.../reftest-sanity/test-pos-fixed-ref.html | 7 +
.../test-pos-fixed-transform-ref.html | 7 +
.../reftest-sanity/test-pos-fixed-transform.html | 7 +
layout/reftests/reftest-sanity/test-pos-fixed.html | 8 +
layout/reftests/reftest-sanity/test-zoom-ref.html | 7 +
layout/reftests/reftest-sanity/test-zoom.html | 7 +
.../reftests/reftest-sanity/text-zoom-notref.html | 2 +
layout/reftests/reftest-sanity/text-zoom-ref.html | 2 +
layout/reftests/reftest-sanity/text-zoom.html | 3 +
layout/reftests/reftest-sanity/too-fuzzy.html | 6 +
.../reftest-sanity/urlprefixtests-include.list | 6 +
layout/reftests/reftest-sanity/urlprefixtests.list | 23 +++
.../reftest-sanity/zoom-invalidation-ref.html | 6 +
.../reftests/reftest-sanity/zoom-invalidation.html | 13 ++
105 files changed, 1665 insertions(+)
create mode 100644 layout/reftests/reftest-sanity/647192-1-ref.html
create mode 100644 layout/reftests/reftest-sanity/647192-1.html
create mode 100644 layout/reftests/reftest-sanity/656041-1-ref.html
create mode 100644 layout/reftests/reftest-sanity/656041-1.html
create mode 100644 layout/reftests/reftest-sanity/async-scroll-1-ref.html
create mode 100644 layout/reftests/reftest-sanity/async-scroll-1a.html
create mode 100644 layout/reftests/reftest-sanity/async-scroll-1b.html
create mode 100644 layout/reftests/reftest-sanity/async-scroll-1c.html
create mode 100644 layout/reftests/reftest-sanity/async-zoom-1-ref.html
create mode 100644 layout/reftests/reftest-sanity/async-zoom-1.html
create mode 100644 layout/reftests/reftest-sanity/async-zoom-2-ref.html
create mode 100644 layout/reftests/reftest-sanity/async-zoom-2.html
create mode 100644 layout/reftests/reftest-sanity/bg.png
create mode 100644 layout/reftests/reftest-sanity/blank.html
create mode 100644 layout/reftests/reftest-sanity/corners-1-ref.html
create mode 100644 layout/reftests/reftest-sanity/corners-1.html
create mode 100644 layout/reftests/reftest-sanity/corners-2-ref.html
create mode 100644 layout/reftests/reftest-sanity/corners-2.html
create mode 100644 layout/reftests/reftest-sanity/corners-3-ref.html
create mode 100644 layout/reftests/reftest-sanity/corners-3.html
create mode 100644 layout/reftests/reftest-sanity/corners-4-ref.html
create mode 100644 layout/reftests/reftest-sanity/corners-4.html
create mode 100644 layout/reftests/reftest-sanity/default.html
create mode 100644 layout/reftests/reftest-sanity/defaults-tests.list
create mode 100644 layout/reftests/reftest-sanity/div-ref.html
create mode 100644 layout/reftests/reftest-sanity/div.html
create mode 100644 layout/reftests/reftest-sanity/exampleorg-1-ref.html
create mode 100644 layout/reftests/reftest-sanity/exampleorg-1.html
create mode 100644 layout/reftests/reftest-sanity/filter-1-ref.xhtml
create mode 100644 layout/reftests/reftest-sanity/filter-1.xhtml
create mode 100644 layout/reftests/reftest-sanity/filter-2-ref.xhtml
create mode 100644 layout/reftests/reftest-sanity/filter-2.xhtml
create mode 100644 layout/reftests/reftest-sanity/font-default.html
create mode 100644 layout/reftests/reftest-sanity/font-download.html
create mode 100644 layout/reftests/reftest-sanity/font-sans-serif.html
create mode 100644 layout/reftests/reftest-sanity/font-serif.html
create mode 100644 layout/reftests/reftest-sanity/font-size-16.html
create mode 100644 layout/reftests/reftest-sanity/font-size-24.html
create mode 100644 layout/reftests/reftest-sanity/fuzzy-ref.html
create mode 100644 layout/reftests/reftest-sanity/fuzzy.html
create mode 100644 layout/reftests/reftest-sanity/green.html
create mode 100644 layout/reftests/reftest-sanity/html-vs-xhtml-by-extension.html
create mode 100644 layout/reftests/reftest-sanity/html-vs-xhtml-by-extension.xhtml
create mode 100644 layout/reftests/reftest-sanity/invalidation.html
create mode 100644 layout/reftests/reftest-sanity/needs-focus.html
create mode 100644 layout/reftests/reftest-sanity/no-root.html
create mode 100644 layout/reftests/reftest-sanity/page-backgrounds-notref.html
create mode 100644 layout/reftests/reftest-sanity/page-backgrounds-ref.html
create mode 100644 layout/reftests/reftest-sanity/page-backgrounds.html
create mode 100644 layout/reftests/reftest-sanity/page-height-2.1in.html
create mode 100644 layout/reftests/reftest-sanity/page-height-2in.html
create mode 100644 layout/reftests/reftest-sanity/page-height-forcebreak.html
create mode 100644 layout/reftests/reftest-sanity/page-height-nobreak.html
create mode 100644 layout/reftests/reftest-sanity/page-width-3.9in.html
create mode 100644 layout/reftests/reftest-sanity/page-width-4.1in.html
create mode 100644 layout/reftests/reftest-sanity/page-width-4in.html
create mode 100644 layout/reftests/reftest-sanity/page-width-auto.html
create mode 100644 layout/reftests/reftest-sanity/prefix-suffix.html
create mode 100644 layout/reftests/reftest-sanity/prefix/scripttest-fail.html
create mode 100644 layout/reftests/reftest-sanity/prefix/suffix.html
create mode 100644 layout/reftests/reftest-sanity/prefix/urlprefixtests-include.list
create mode 100644 layout/reftests/reftest-sanity/red.html
create mode 100644 layout/reftests/reftest-sanity/reftest-assigned-layer-fail-1.html
create mode 100644 layout/reftests/reftest-sanity/reftest-assigned-layer-fail-2.html
create mode 100644 layout/reftests/reftest-sanity/reftest-assigned-layer-fail-3.html
create mode 100644 layout/reftests/reftest-sanity/reftest-assigned-layer-fail-4.html
create mode 100644 layout/reftests/reftest-sanity/reftest-assigned-layer-pass.html
create mode 100644 layout/reftests/reftest-sanity/reftest-no-flush-ref.html
create mode 100644 layout/reftests/reftest-sanity/reftest-no-flush.html
create mode 100644 layout/reftests/reftest-sanity/reftest-no-paint-ref.html
create mode 100644 layout/reftests/reftest-sanity/reftest-no-paint.html
create mode 100644 layout/reftests/reftest-sanity/reftest-opaque-layer-fail.html
create mode 100644 layout/reftests/reftest-sanity/reftest-opaque-layer-pass.html
create mode 100644 layout/reftests/reftest-sanity/reftest-opaque-layer-wait-fail.html
create mode 100644 layout/reftests/reftest-sanity/reftest-opaque-layer-wait-pass.html
create mode 100644 layout/reftests/reftest-sanity/reftest-resolution-ref.html
create mode 100644 layout/reftests/reftest-sanity/reftest-resolution.html
create mode 100644 layout/reftests/reftest-sanity/reftest.list
create mode 100644 layout/reftests/reftest-sanity/scripttest-fail.html
create mode 100644 layout/reftests/reftest-sanity/scripttest-pass-fail.html
create mode 100644 layout/reftests/reftest-sanity/scripttest-pass.html
create mode 100644 layout/reftests/reftest-sanity/scripttests.list
create mode 100644 layout/reftests/reftest-sanity/test-async-ref.html
create mode 100644 layout/reftests/reftest-sanity/test-async-ref.xhtml
create mode 100644 layout/reftests/reftest-sanity/test-async.html
create mode 100644 layout/reftests/reftest-sanity/test-async.xhtml
create mode 100644 layout/reftests/reftest-sanity/test-bg-attachment-fixed-ref.html
create mode 100644 layout/reftests/reftest-sanity/test-bg-attachment-fixed.html
create mode 100644 layout/reftests/reftest-sanity/test-displayport-2.html
create mode 100644 layout/reftests/reftest-sanity/test-displayport-bg.html
create mode 100644 layout/reftests/reftest-sanity/test-displayport-ref.html
create mode 100644 layout/reftests/reftest-sanity/test-pos-fixed-ref.html
create mode 100644 layout/reftests/reftest-sanity/test-pos-fixed-transform-ref.html
create mode 100644 layout/reftests/reftest-sanity/test-pos-fixed-transform.html
create mode 100644 layout/reftests/reftest-sanity/test-pos-fixed.html
create mode 100644 layout/reftests/reftest-sanity/test-zoom-ref.html
create mode 100644 layout/reftests/reftest-sanity/test-zoom.html
create mode 100644 layout/reftests/reftest-sanity/text-zoom-notref.html
create mode 100644 layout/reftests/reftest-sanity/text-zoom-ref.html
create mode 100644 layout/reftests/reftest-sanity/text-zoom.html
create mode 100644 layout/reftests/reftest-sanity/too-fuzzy.html
create mode 100644 layout/reftests/reftest-sanity/urlprefixtests-include.list
create mode 100644 layout/reftests/reftest-sanity/urlprefixtests.list
create mode 100644 layout/reftests/reftest-sanity/zoom-invalidation-ref.html
create mode 100644 layout/reftests/reftest-sanity/zoom-invalidation.html
(limited to 'layout/reftests/reftest-sanity')
diff --git a/layout/reftests/reftest-sanity/647192-1-ref.html b/layout/reftests/reftest-sanity/647192-1-ref.html
new file mode 100644
index 0000000000..d1a673c62d
--- /dev/null
+++ b/layout/reftests/reftest-sanity/647192-1-ref.html
@@ -0,0 +1,12 @@
+
+
+
+
+You should see no red, only green
+
+
+
diff --git a/layout/reftests/reftest-sanity/647192-1.html b/layout/reftests/reftest-sanity/647192-1.html
new file mode 100644
index 0000000000..365f7652fe
--- /dev/null
+++ b/layout/reftests/reftest-sanity/647192-1.html
@@ -0,0 +1,16 @@
+
+
+
+
+You should see no red, only green
+
+
+
diff --git a/layout/reftests/reftest-sanity/656041-1-ref.html b/layout/reftests/reftest-sanity/656041-1-ref.html
new file mode 100644
index 0000000000..a92943594f
--- /dev/null
+++ b/layout/reftests/reftest-sanity/656041-1-ref.html
@@ -0,0 +1,33 @@
+
+
+
+
+
+ Reftest
+
+
+
+
+
+
diff --git a/layout/reftests/reftest-sanity/656041-1.html b/layout/reftests/reftest-sanity/656041-1.html
new file mode 100644
index 0000000000..d888fbe400
--- /dev/null
+++ b/layout/reftests/reftest-sanity/656041-1.html
@@ -0,0 +1,33 @@
+
+
+
+
+
+ Reftest
+
+
+
+
+
+
diff --git a/layout/reftests/reftest-sanity/async-scroll-1-ref.html b/layout/reftests/reftest-sanity/async-scroll-1-ref.html
new file mode 100644
index 0000000000..f68227c188
--- /dev/null
+++ b/layout/reftests/reftest-sanity/async-scroll-1-ref.html
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
diff --git a/layout/reftests/reftest-sanity/async-scroll-1a.html b/layout/reftests/reftest-sanity/async-scroll-1a.html
new file mode 100644
index 0000000000..63e4cff372
--- /dev/null
+++ b/layout/reftests/reftest-sanity/async-scroll-1a.html
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
diff --git a/layout/reftests/reftest-sanity/async-scroll-1b.html b/layout/reftests/reftest-sanity/async-scroll-1b.html
new file mode 100644
index 0000000000..dc4b89b959
--- /dev/null
+++ b/layout/reftests/reftest-sanity/async-scroll-1b.html
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
diff --git a/layout/reftests/reftest-sanity/async-scroll-1c.html b/layout/reftests/reftest-sanity/async-scroll-1c.html
new file mode 100644
index 0000000000..46dd62a40d
--- /dev/null
+++ b/layout/reftests/reftest-sanity/async-scroll-1c.html
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
diff --git a/layout/reftests/reftest-sanity/async-zoom-1-ref.html b/layout/reftests/reftest-sanity/async-zoom-1-ref.html
new file mode 100644
index 0000000000..734bce16da
--- /dev/null
+++ b/layout/reftests/reftest-sanity/async-zoom-1-ref.html
@@ -0,0 +1,6 @@
+
+
+
+This is some content.
+
+
diff --git a/layout/reftests/reftest-sanity/async-zoom-1.html b/layout/reftests/reftest-sanity/async-zoom-1.html
new file mode 100644
index 0000000000..7f4d2244d1
--- /dev/null
+++ b/layout/reftests/reftest-sanity/async-zoom-1.html
@@ -0,0 +1,6 @@
+
+
+
+This is some content.
+
+
diff --git a/layout/reftests/reftest-sanity/async-zoom-2-ref.html b/layout/reftests/reftest-sanity/async-zoom-2-ref.html
new file mode 100644
index 0000000000..939f62579f
--- /dev/null
+++ b/layout/reftests/reftest-sanity/async-zoom-2-ref.html
@@ -0,0 +1,6 @@
+
+
+
+
+
+
diff --git a/layout/reftests/reftest-sanity/async-zoom-2.html b/layout/reftests/reftest-sanity/async-zoom-2.html
new file mode 100644
index 0000000000..6ca8836788
--- /dev/null
+++ b/layout/reftests/reftest-sanity/async-zoom-2.html
@@ -0,0 +1,6 @@
+
+
+
+
+
+
diff --git a/layout/reftests/reftest-sanity/bg.png b/layout/reftests/reftest-sanity/bg.png
new file mode 100644
index 0000000000..deefd19b2a
Binary files /dev/null and b/layout/reftests/reftest-sanity/bg.png differ
diff --git a/layout/reftests/reftest-sanity/blank.html b/layout/reftests/reftest-sanity/blank.html
new file mode 100644
index 0000000000..eaca3f49fd
--- /dev/null
+++ b/layout/reftests/reftest-sanity/blank.html
@@ -0,0 +1,5 @@
+
+
+
+
+
diff --git a/layout/reftests/reftest-sanity/corners-1-ref.html b/layout/reftests/reftest-sanity/corners-1-ref.html
new file mode 100644
index 0000000000..e002df8150
--- /dev/null
+++ b/layout/reftests/reftest-sanity/corners-1-ref.html
@@ -0,0 +1,6 @@
+
+
+
+
+
+
diff --git a/layout/reftests/reftest-sanity/corners-1.html b/layout/reftests/reftest-sanity/corners-1.html
new file mode 100644
index 0000000000..d1461fc19a
--- /dev/null
+++ b/layout/reftests/reftest-sanity/corners-1.html
@@ -0,0 +1,6 @@
+
+
+
+
+
+
diff --git a/layout/reftests/reftest-sanity/corners-2-ref.html b/layout/reftests/reftest-sanity/corners-2-ref.html
new file mode 100644
index 0000000000..89a5a0928c
--- /dev/null
+++ b/layout/reftests/reftest-sanity/corners-2-ref.html
@@ -0,0 +1,6 @@
+
+
+
+
+
+
diff --git a/layout/reftests/reftest-sanity/corners-2.html b/layout/reftests/reftest-sanity/corners-2.html
new file mode 100644
index 0000000000..05c3d4a209
--- /dev/null
+++ b/layout/reftests/reftest-sanity/corners-2.html
@@ -0,0 +1,6 @@
+
+
+
+
+
+
diff --git a/layout/reftests/reftest-sanity/corners-3-ref.html b/layout/reftests/reftest-sanity/corners-3-ref.html
new file mode 100644
index 0000000000..eb28b7712b
--- /dev/null
+++ b/layout/reftests/reftest-sanity/corners-3-ref.html
@@ -0,0 +1,6 @@
+
+
+
+
+
+
diff --git a/layout/reftests/reftest-sanity/corners-3.html b/layout/reftests/reftest-sanity/corners-3.html
new file mode 100644
index 0000000000..47c30a61ad
--- /dev/null
+++ b/layout/reftests/reftest-sanity/corners-3.html
@@ -0,0 +1,6 @@
+
+
+
+
+
+
diff --git a/layout/reftests/reftest-sanity/corners-4-ref.html b/layout/reftests/reftest-sanity/corners-4-ref.html
new file mode 100644
index 0000000000..976b298abd
--- /dev/null
+++ b/layout/reftests/reftest-sanity/corners-4-ref.html
@@ -0,0 +1,6 @@
+
+
+
+
+
+
diff --git a/layout/reftests/reftest-sanity/corners-4.html b/layout/reftests/reftest-sanity/corners-4.html
new file mode 100644
index 0000000000..c46d501196
--- /dev/null
+++ b/layout/reftests/reftest-sanity/corners-4.html
@@ -0,0 +1,6 @@
+
+
+
+
+
+
diff --git a/layout/reftests/reftest-sanity/default.html b/layout/reftests/reftest-sanity/default.html
new file mode 100644
index 0000000000..e80f240e0f
--- /dev/null
+++ b/layout/reftests/reftest-sanity/default.html
@@ -0,0 +1,6 @@
+
+
+
+Text
+
+
diff --git a/layout/reftests/reftest-sanity/defaults-tests.list b/layout/reftests/reftest-sanity/defaults-tests.list
new file mode 100644
index 0000000000..d6e90100c3
--- /dev/null
+++ b/layout/reftests/reftest-sanity/defaults-tests.list
@@ -0,0 +1,30 @@
+# test defaults
+
+# test defaults with a pref()
+defaults pref(font.size.variable.x-western,24)
+!= font-default.html font-size-16.html
+== font-default.html font-size-24.html
+
+# test that a default preference can be overridden
+pref(font.size.variable.x-western,16) == font-default.html font-size-16.html
+pref(font.size.variable.x-western,16) != font-default.html font-size-24.html
+
+# test that default preferences are kept when other test-specific preferences are set
+pref(font.size.variable.zh-HK,36) != font-default.html font-size-16.html
+pref(font.size.variable.zh-HK,36) == font-default.html font-size-24.html
+
+# test defaults with test-pref() and ref-pref()
+defaults test-pref(font.size.variable.x-western,16) ref-pref(font.size.variable.x-western,24)
+!= font-default.html font-default.html
+== font-default.html font-size-16.html
+== font-size-24.html font-default.html
+
+# test defaults with skip and skip-if
+defaults skip
+== font-size-16.html font-size-24.html
+defaults skip-if(true)
+== font-size-16.html font-size-24.html
+
+# test resetting defaults
+defaults
+== font-default.html font-default.html
diff --git a/layout/reftests/reftest-sanity/div-ref.html b/layout/reftests/reftest-sanity/div-ref.html
new file mode 100644
index 0000000000..a798096def
--- /dev/null
+++ b/layout/reftests/reftest-sanity/div-ref.html
@@ -0,0 +1,7 @@
+
+
+
+ aaa
+ bbb
+
+
diff --git a/layout/reftests/reftest-sanity/div.html b/layout/reftests/reftest-sanity/div.html
new file mode 100644
index 0000000000..f1bcffaf11
--- /dev/null
+++ b/layout/reftests/reftest-sanity/div.html
@@ -0,0 +1,8 @@
+
+
+
+ aaa
+ bbb
+
+
+
diff --git a/layout/reftests/reftest-sanity/exampleorg-1-ref.html b/layout/reftests/reftest-sanity/exampleorg-1-ref.html
new file mode 100644
index 0000000000..003050fde8
--- /dev/null
+++ b/layout/reftests/reftest-sanity/exampleorg-1-ref.html
@@ -0,0 +1 @@
+
+
+
+
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 @@
+
+
+
+
+ is display:block
+== div.html div-ref.html
+
+# test script keyword
+include scripttests.list
+
+# test url-prefix
+include urlprefixtests.list
+
+# test defaults
+include defaults-tests.list
+
+# test that all corners are visible
+!= corners-1.html corners-1-ref.html
+!= corners-2.html corners-2-ref.html
+!= corners-3.html corners-3-ref.html
+!= corners-4.html corners-4-ref.html
+
+# Test that the harness gives the correct page dimensions.
+!= page-width-3.9in.html page-width-4in.html
+== page-width-4.1in.html page-width-4in.html
+== page-width-auto.html page-width-4in.html
+!= page-height-2in.html page-height-2.1in.html
+== page-height-2in.html page-height-nobreak.html
+== page-height-2.1in.html page-height-forcebreak.html
+
+# Check that tests that need focus are skipped when it's not available
+needs-focus load needs-focus.html
+
+# Bug 632636
+fails == data:text/plain,HELLO about:blank
+needs-focus == data:text/plain, about:blank
+
+# Sanity check of viewport+displayport overrides
+pref(dom.meta-viewport.enabled,true) skip-if(!browserIsRemote) fails-if(useDrawSnapshot) != test-displayport-2.html test-displayport-ref.html # bug 593168
+skip-if(!browserIsRemote) fails-if(OSX&&layersGPUAccelerated) fuzzy-if(layersOMTC,0-1,0-1390) random-if(Android) random-if(transparentScrollbars) == 647192-1.html 647192-1-ref.html
+skip-if(!browserIsRemote) == 656041-1.html 656041-1-ref.html
+pref(dom.meta-viewport.enabled,true) skip-if(!browserIsRemote||layersOMTC) == test-displayport-bg.html test-displayport-ref.html # bug 694706
+
+# IPC Position-fixed frames/layers test
+# Fixed layers are temporarily disabled (bug 656167).
+#pref(dom.meta-viewport.enabled,true) skip-if(!browserIsRemote) == test-pos-fixed.html test-pos-fixed-ref.html
+#pref(dom.meta-viewport.enabled,true) skip-if(!browserIsRemote) == test-bg-attachment-fixed.html test-bg-attachment-fixed-ref.html
+pref(dom.meta-viewport.enabled,true) skip-if(!browserIsRemote) == test-pos-fixed-transform.html test-pos-fixed-transform-ref.html
+
+# reftest syntax: require-or
+require-or(unrecognizedCondition,skip) script scripttest-fail.html
+require-or(true&&unrecognizedCondition,skip) script scripttest-fail.html
+require-or(unrecognizedCondition&&true,skip) script scripttest-fail.html
+require-or(unrecognizedCondition,fails) script scripttest-fail.html
+require-or(true,fails) script scripttest-pass.html
+require-or(true&&true,fails) script scripttest-pass.html
+
+# tests for pref(...) syntax in manifest, including "fails" examples with incorrect prefs
+# a boolean pref
+pref(gfx.downloadable_fonts.enabled,true) != font-download.html font-default.html
+pref(gfx.downloadable_fonts.enabled,false) == font-download.html font-default.html
+fails pref(gfx.downloadable_fonts.enabled,0) == font-download.html font-default.html
+fails pref(gfx.downloadable_fonts.enabled,"foo") == font-download.html font-default.html
+# a non-existent pref
+fails pref(not.a.real.pref.name,1) == font-download.html font-default.html
+# an integer pref
+pref(font.size.variable.x-western,16) == font-size-16.html font-default.html
+pref(font.size.variable.x-western,16) != font-size-24.html font-default.html
+pref(font.size.variable.x-western,24) == font-size-24.html font-default.html
+pref(font.size.variable.x-western,24) != font-size-16.html font-default.html
+fails pref(font.size.variable.x-western,false) == font-size-16.html font-default.html
+fails pref(font.size.variable.x-western,"foo") == font-size-16.html font-default.html
+# a string pref
+pref(font.default.x-western,"serif") == font-serif.html font-default.html
+pref(font.default.x-western,"serif") != font-sans-serif.html font-default.html
+pref(font.default.x-western,"sans-serif") == font-sans-serif.html font-default.html
+pref(font.default.x-western,"sans-serif") != font-serif.html font-default.html
+fails pref(font.default.x-western,true) == font-serif.html font-default.html
+fails pref(font.default.x-western,0) == font-serif.html font-default.html
+# tests for ref-pref, and test-pref
+ref-pref(font.size.variable.x-western,16) == font-size-16.html font-default.html
+ref-pref(font.size.variable.x-western,16) != font-size-24.html font-default.html
+ref-pref(font.size.variable.x-western,24) == font-size-24.html font-default.html
+ref-pref(font.size.variable.x-western,24) != font-size-16.html font-default.html
+fails ref-pref(font.size.variable.x-western,false) == font-size-16.html font-default.html
+fails ref-pref(font.size.variable.x-western,"foo") == font-size-16.html font-default.html
+test-pref(font.size.variable.x-western,16) == font-default.html font-size-16.html
+test-pref(font.size.variable.x-western,16) != font-default.html font-size-24.html
+test-pref(font.size.variable.x-western,24) == font-default.html font-size-24.html
+test-pref(font.size.variable.x-western,24) != font-default.html font-size-16.html
+fails test-pref(font.size.variable.x-western,false) == font-default.html font-size-16.html
+fails test-pref(font.size.variable.x-western,"foo") == font-default.html font-size-16.html
+ref-pref(font.size.variable.x-western,16) test-pref(font.size.variable.x-western,24) != font-default.html font-default.html
+ref-pref(font.size.variable.x-western,24) test-pref(font.size.variable.x-western,16) != font-default.html font-default.html
+ref-pref(font.size.variable.x-western,24) test-pref(font.size.variable.x-western,24) == font-default.html font-default.html
+
+# reftest syntax: fuzzy(0-maxPixelDifference,0-maxNumberDifferingPixels)
+noautofuzz fuzzy(0-1,0-250000) == fuzzy.html fuzzy-ref.html
+noautofuzz fuzzy(0-1,0-250000) != too-fuzzy.html fuzzy-ref.html
+noautofuzz fuzzy-if(true,0-1,0-250000) == fuzzy.html fuzzy-ref.html
+noautofuzz fuzzy-if(false,0-2,0-1) == fuzzy-ref.html fuzzy-ref.html
+# test some ranged fuzzes
+noautofuzz fuzzy(1-10,1-250000) fuzzy-if(false,5-10,0-250000) == fuzzy.html fuzzy-ref.html
+noautofuzz fuzzy(0-0,0-250000) != fuzzy.html fuzzy-ref.html
+noautofuzz fuzzy(0-1,0-2) != fuzzy.html fuzzy-ref.html
+# If enabled, the following two should result in UNEXPECTED-PASS because
+# they are both overfuzzed
+# noautofuzz fuzzy(3-4,0-250000) == fuzzy.html fuzzy-ref.html
+# noautofuzz fuzzy(0-1,250001-250002) == fuzzy.html fuzzy-ref.html
+#
+# When using 565 fuzzy.html and fuzzy-ref.html will compare as equal
+noautofuzz fails fuzzy-if(false,0-2,0-1) == fuzzy.html fuzzy-ref.html
+
+# Test that reftest-no-paint fails correctly.
+== reftest-no-paint.html reftest-no-paint-ref.html
+
+skip-if(!asyncPan||!browserIsRemote) == async-scroll-1a.html async-scroll-1-ref.html
+
+skip-if(!asyncPan||!browserIsRemote) != async-scroll-1b.html async-scroll-1-ref.html
+
+skip-if(!asyncPan||!browserIsRemote) == async-scroll-1c.html async-scroll-1-ref.html
+
+skip-if(!Android) pref(apz.allow_zooming,true) != async-zoom-1.html async-zoom-1-ref.html
+fuzzy(0-112,0-800) skip-if(!Android) pref(apz.allow_zooming,true) == async-zoom-2.html async-zoom-2-ref.html
+
+# reftest-opaque-layer
+== reftest-opaque-layer-pass.html reftest-opaque-layer-pass.html
+!= reftest-opaque-layer-pass.html about:blank
+!= about:blank reftest-opaque-layer-pass.html
+== reftest-opaque-layer-fail.html reftest-opaque-layer-fail.html
+
+# If reftest-opaque-layer fails (no matter whether it fails in the test or in the reference),
+# it shouldn't matter whether the test matches the reference.
+fails != reftest-opaque-layer-fail.html reftest-opaque-layer-fail.html
+fails == reftest-opaque-layer-fail.html about:blank
+fails == about:blank reftest-opaque-layer-fail.html
+!= reftest-opaque-layer-fail.html about:blank
+!= about:blank reftest-opaque-layer-fail.html
+
+# reftest-opaque-layer and reftest-wait
+== reftest-opaque-layer-wait-pass.html reftest-opaque-layer-pass.html
+!= reftest-opaque-layer-wait-pass.html about:blank
+== reftest-opaque-layer-wait-fail.html reftest-opaque-layer-fail.html
+!= reftest-opaque-layer-wait-fail.html about:blank
+
+# reftest-assigned-layer
+!= reftest-assigned-layer-pass.html about:blank
+!= reftest-assigned-layer-fail-1.html about:blank
+!= reftest-assigned-layer-fail-2.html about:blank
+!= reftest-assigned-layer-fail-3.html about:blank
+!= reftest-assigned-layer-fail-4.html about:blank
+
+# reftest-resolution
+pref(apz.allow_zooming,true) fails-if(useDrawSnapshot) == reftest-resolution.html reftest-resolution-ref.html
+
+== reftest-no-flush.html reftest-no-flush-ref.html
+
+skip-if(Android) HTTP == exampleorg-1.html exampleorg-1-ref.html
+
+== page-backgrounds.html page-backgrounds-ref.html
+!= page-backgrounds.html page-backgrounds-notref.html
diff --git a/layout/reftests/reftest-sanity/scripttest-fail.html b/layout/reftests/reftest-sanity/scripttest-fail.html
new file mode 100644
index 0000000000..7172902f14
--- /dev/null
+++ b/layout/reftests/reftest-sanity/scripttest-fail.html
@@ -0,0 +1,17 @@
+
+
+
+
scripttest-fail
+
+
+
+
scripttest-fail
+
+
diff --git a/layout/reftests/reftest-sanity/scripttest-pass-fail.html b/layout/reftests/reftest-sanity/scripttest-pass-fail.html
new file mode 100644
index 0000000000..848e21b119
--- /dev/null
+++ b/layout/reftests/reftest-sanity/scripttest-pass-fail.html
@@ -0,0 +1,18 @@
+
+
+
+
scripttest-pass-fail
+
+
+
+
scripttest-pass-fail
+
+
diff --git a/layout/reftests/reftest-sanity/scripttest-pass.html b/layout/reftests/reftest-sanity/scripttest-pass.html
new file mode 100644
index 0000000000..e0371b3518
--- /dev/null
+++ b/layout/reftests/reftest-sanity/scripttest-pass.html
@@ -0,0 +1,17 @@
+
+
+
+
scripttest-pass
+
+
+
+
scripttest-pass
+
+
diff --git a/layout/reftests/reftest-sanity/scripttests.list b/layout/reftests/reftest-sanity/scripttests.list
new file mode 100644
index 0000000000..18be27e59e
--- /dev/null
+++ b/layout/reftests/reftest-sanity/scripttests.list
@@ -0,0 +1,10 @@
+# test script keyword.
+
+# cases where the test does not include an appropriate getTestCases() function,
+# or where getTestCases() does not return an array of objects with methods
+# testPassed() and testDescription() can not be included since they always
+# produce unexpected failures.
+
+script scripttest-pass.html
+fails script scripttest-fail.html
+fails script scripttest-pass-fail.html
diff --git a/layout/reftests/reftest-sanity/test-async-ref.html b/layout/reftests/reftest-sanity/test-async-ref.html
new file mode 100644
index 0000000000..7d92f683df
--- /dev/null
+++ b/layout/reftests/reftest-sanity/test-async-ref.html
@@ -0,0 +1,2 @@
+
+
diff --git a/layout/reftests/reftest-sanity/test-async-ref.xhtml b/layout/reftests/reftest-sanity/test-async-ref.xhtml
new file mode 100644
index 0000000000..690fc60aa9
--- /dev/null
+++ b/layout/reftests/reftest-sanity/test-async-ref.xhtml
@@ -0,0 +1,3 @@
+
+
diff --git a/layout/reftests/reftest-sanity/test-async.html b/layout/reftests/reftest-sanity/test-async.html
new file mode 100644
index 0000000000..db24cf42b7
--- /dev/null
+++ b/layout/reftests/reftest-sanity/test-async.html
@@ -0,0 +1,12 @@
+
+
+
+
diff --git a/layout/reftests/reftest-sanity/test-async.xhtml b/layout/reftests/reftest-sanity/test-async.xhtml
new file mode 100644
index 0000000000..e8dc869ad3
--- /dev/null
+++ b/layout/reftests/reftest-sanity/test-async.xhtml
@@ -0,0 +1,15 @@
+
+
+
+
diff --git a/layout/reftests/reftest-sanity/test-bg-attachment-fixed-ref.html b/layout/reftests/reftest-sanity/test-bg-attachment-fixed-ref.html
new file mode 100644
index 0000000000..f336883097
--- /dev/null
+++ b/layout/reftests/reftest-sanity/test-bg-attachment-fixed-ref.html
@@ -0,0 +1,16 @@
+
+
+
+
+
+
+
+
+
diff --git a/layout/reftests/reftest-sanity/test-bg-attachment-fixed.html b/layout/reftests/reftest-sanity/test-bg-attachment-fixed.html
new file mode 100644
index 0000000000..12ca1c2c51
--- /dev/null
+++ b/layout/reftests/reftest-sanity/test-bg-attachment-fixed.html
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/layout/reftests/reftest-sanity/test-displayport-2.html b/layout/reftests/reftest-sanity/test-displayport-2.html
new file mode 100644
index 0000000000..6772732d76
--- /dev/null
+++ b/layout/reftests/reftest-sanity/test-displayport-2.html
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
diff --git a/layout/reftests/reftest-sanity/test-displayport-bg.html b/layout/reftests/reftest-sanity/test-displayport-bg.html
new file mode 100644
index 0000000000..6044de36f2
--- /dev/null
+++ b/layout/reftests/reftest-sanity/test-displayport-bg.html
@@ -0,0 +1,7 @@
+
+
+
+
+
+
diff --git a/layout/reftests/reftest-sanity/test-displayport-ref.html b/layout/reftests/reftest-sanity/test-displayport-ref.html
new file mode 100644
index 0000000000..b699a79a31
--- /dev/null
+++ b/layout/reftests/reftest-sanity/test-displayport-ref.html
@@ -0,0 +1,4 @@
+
+
+
+
diff --git a/layout/reftests/reftest-sanity/test-pos-fixed-ref.html b/layout/reftests/reftest-sanity/test-pos-fixed-ref.html
new file mode 100644
index 0000000000..864e6418cd
--- /dev/null
+++ b/layout/reftests/reftest-sanity/test-pos-fixed-ref.html
@@ -0,0 +1,7 @@
+
+
+
+
+
+
diff --git a/layout/reftests/reftest-sanity/test-pos-fixed-transform-ref.html b/layout/reftests/reftest-sanity/test-pos-fixed-transform-ref.html
new file mode 100644
index 0000000000..6c99ac24bf
--- /dev/null
+++ b/layout/reftests/reftest-sanity/test-pos-fixed-transform-ref.html
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
diff --git a/layout/reftests/reftest-sanity/test-pos-fixed-transform.html b/layout/reftests/reftest-sanity/test-pos-fixed-transform.html
new file mode 100644
index 0000000000..1d7ed56c64
--- /dev/null
+++ b/layout/reftests/reftest-sanity/test-pos-fixed-transform.html
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
diff --git a/layout/reftests/reftest-sanity/test-pos-fixed.html b/layout/reftests/reftest-sanity/test-pos-fixed.html
new file mode 100644
index 0000000000..7c792cf224
--- /dev/null
+++ b/layout/reftests/reftest-sanity/test-pos-fixed.html
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
diff --git a/layout/reftests/reftest-sanity/test-zoom-ref.html b/layout/reftests/reftest-sanity/test-zoom-ref.html
new file mode 100644
index 0000000000..16fd8cbfba
--- /dev/null
+++ b/layout/reftests/reftest-sanity/test-zoom-ref.html
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
diff --git a/layout/reftests/reftest-sanity/test-zoom.html b/layout/reftests/reftest-sanity/test-zoom.html
new file mode 100644
index 0000000000..d663030a93
--- /dev/null
+++ b/layout/reftests/reftest-sanity/test-zoom.html
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
diff --git a/layout/reftests/reftest-sanity/text-zoom-notref.html b/layout/reftests/reftest-sanity/text-zoom-notref.html
new file mode 100644
index 0000000000..b2be86b253
--- /dev/null
+++ b/layout/reftests/reftest-sanity/text-zoom-notref.html
@@ -0,0 +1,2 @@
+
+
Foo
diff --git a/layout/reftests/reftest-sanity/text-zoom-ref.html b/layout/reftests/reftest-sanity/text-zoom-ref.html
new file mode 100644
index 0000000000..6140f537fe
--- /dev/null
+++ b/layout/reftests/reftest-sanity/text-zoom-ref.html
@@ -0,0 +1,2 @@
+
+
Foo
diff --git a/layout/reftests/reftest-sanity/text-zoom.html b/layout/reftests/reftest-sanity/text-zoom.html
new file mode 100644
index 0000000000..13ced799a8
--- /dev/null
+++ b/layout/reftests/reftest-sanity/text-zoom.html
@@ -0,0 +1,3 @@
+
+
+
Foo
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