From 2aa4a82499d4becd2284cdb482213d541b8804dd Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 28 Apr 2024 16:29:10 +0200 Subject: Adding upstream version 86.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 + 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 + .../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 | 217 +++++++++++++++++++++ .../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 ++ 100 files changed, 1653 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/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-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/filter-1-ref.xhtml b/layout/reftests/reftest-sanity/filter-1-ref.xhtml new file mode 100644 index 0000000000..32f3a01b5b --- /dev/null +++ b/layout/reftests/reftest-sanity/filter-1-ref.xhtml @@ -0,0 +1,20 @@ + + + Filter sanity-check + + + + +
+ +
+ +
+ +
+ + + diff --git a/layout/reftests/reftest-sanity/filter-1.xhtml b/layout/reftests/reftest-sanity/filter-1.xhtml new file mode 100644 index 0000000000..5cc01f1e29 --- /dev/null +++ b/layout/reftests/reftest-sanity/filter-1.xhtml @@ -0,0 +1,32 @@ + + + + + + + + + + Filter sanity-check + + + + +
+ +
+ +
+ +
+ + + +
+
diff --git a/layout/reftests/reftest-sanity/filter-2-ref.xhtml b/layout/reftests/reftest-sanity/filter-2-ref.xhtml new file mode 100644 index 0000000000..c2514ba380 --- /dev/null +++ b/layout/reftests/reftest-sanity/filter-2-ref.xhtml @@ -0,0 +1,16 @@ + + + Filter sanity-check + + + + +
+ +
+ + + diff --git a/layout/reftests/reftest-sanity/filter-2.xhtml b/layout/reftests/reftest-sanity/filter-2.xhtml new file mode 100644 index 0000000000..4dd67951ed --- /dev/null +++ b/layout/reftests/reftest-sanity/filter-2.xhtml @@ -0,0 +1,32 @@ + + + + + + + + + + Filter sanity-check + + + + +
+ +
+ +
+ +
+ + + +
+
diff --git a/layout/reftests/reftest-sanity/font-default.html b/layout/reftests/reftest-sanity/font-default.html new file mode 100644 index 0000000000..3bdf2d555f --- /dev/null +++ b/layout/reftests/reftest-sanity/font-default.html @@ -0,0 +1,12 @@ + + + + + + +
Hello world 123
+ + diff --git a/layout/reftests/reftest-sanity/font-download.html b/layout/reftests/reftest-sanity/font-download.html new file mode 100644 index 0000000000..2ab084ca4a --- /dev/null +++ b/layout/reftests/reftest-sanity/font-download.html @@ -0,0 +1,17 @@ + + + + + + +
Hello world 123
+ + diff --git a/layout/reftests/reftest-sanity/font-sans-serif.html b/layout/reftests/reftest-sanity/font-sans-serif.html new file mode 100644 index 0000000000..ac22b4ee5f --- /dev/null +++ b/layout/reftests/reftest-sanity/font-sans-serif.html @@ -0,0 +1,13 @@ + + + + + + +
Hello world 123
+ + diff --git a/layout/reftests/reftest-sanity/font-serif.html b/layout/reftests/reftest-sanity/font-serif.html new file mode 100644 index 0000000000..f3f22ef22d --- /dev/null +++ b/layout/reftests/reftest-sanity/font-serif.html @@ -0,0 +1,13 @@ + + + + + + +
Hello world 123
+ + diff --git a/layout/reftests/reftest-sanity/font-size-16.html b/layout/reftests/reftest-sanity/font-size-16.html new file mode 100644 index 0000000000..2be81f9dc1 --- /dev/null +++ b/layout/reftests/reftest-sanity/font-size-16.html @@ -0,0 +1,13 @@ + + + + + + +
Hello world 123
+ + diff --git a/layout/reftests/reftest-sanity/font-size-24.html b/layout/reftests/reftest-sanity/font-size-24.html new file mode 100644 index 0000000000..8907a10793 --- /dev/null +++ b/layout/reftests/reftest-sanity/font-size-24.html @@ -0,0 +1,13 @@ + + + + + + +
Hello world 123
+ + diff --git a/layout/reftests/reftest-sanity/fuzzy-ref.html b/layout/reftests/reftest-sanity/fuzzy-ref.html new file mode 100644 index 0000000000..776c7911d8 --- /dev/null +++ b/layout/reftests/reftest-sanity/fuzzy-ref.html @@ -0,0 +1,6 @@ + + + +
+ + diff --git a/layout/reftests/reftest-sanity/fuzzy.html b/layout/reftests/reftest-sanity/fuzzy.html new file mode 100644 index 0000000000..d288560e96 --- /dev/null +++ b/layout/reftests/reftest-sanity/fuzzy.html @@ -0,0 +1,6 @@ + + + +
+ + diff --git a/layout/reftests/reftest-sanity/green.html b/layout/reftests/reftest-sanity/green.html new file mode 100644 index 0000000000..d1695cb8b8 --- /dev/null +++ b/layout/reftests/reftest-sanity/green.html @@ -0,0 +1,6 @@ + + + +
Text
+ + 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 + + + +

suffix - test url-prefix for script test

+ + diff --git a/layout/reftests/reftest-sanity/prefix/scripttest-fail.html b/layout/reftests/reftest-sanity/prefix/scripttest-fail.html new file mode 100644 index 0000000000..7172902f14 --- /dev/null +++ b/layout/reftests/reftest-sanity/prefix/scripttest-fail.html @@ -0,0 +1,17 @@ + + + +scripttest-fail + + + +

scripttest-fail

+ + 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-no-paint.html b/layout/reftests/reftest-sanity/reftest-no-paint.html new file mode 100644 index 0000000000..0c49b49647 --- /dev/null +++ b/layout/reftests/reftest-sanity/reftest-no-paint.html @@ -0,0 +1,15 @@ + + + +
+
+ + + 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,
Text
+== data:text/html,
Text
default.html +HTTP == default.html data:text/html,
Text
+HTTP == data:text/html,
Text
default.html +!= blank.html default.html +HTTP != blank.html default.html + +fails-if(geckoview&&webrender&&device) == filter-1.xhtml filter-1-ref.xhtml +fails-if(geckoview&&webrender&&device) == filter-2.xhtml filter-2-ref.xhtml + +# test that the MozReftestInvalidate event fires +== invalidation.html about:blank +== zoom-invalidation.html zoom-invalidation-ref.html # bug 773482 + +# test that xulRuntime.OS works +fails-if(xulRuntime.OS!="Linux"&&!Android) == data:text/html,Linux data:text/html, +fails-if(xulRuntime.OS!="WINNT") == data:text/html,Win data:text/html, +fails-if(xulRuntime.OS!="Darwin") == data:text/html,Mac data:text/html, + +# test parsing of asserts() expressions +asserts(0) load about:blank +asserts(0-5) load about:blank +asserts-if(true,0) load about:blank +asserts-if(false,7) load about:blank +asserts-if(true,0-4) load about:blank +asserts-if(false,6-8) load about:blank + +# test that
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) != 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. +fails-if(layerChecksEnabled) == reftest-no-paint.html reftest-no-paint-ref.html + +skip-if(!asyncPan||!browserIsRemote) == async-scroll-1a.html async-scroll-1-ref.html + +# Disable low-res painting for this test as it will cause more to +# be drawn than we want. +defaults pref(layers.low-precision-buffer,false) +skip-if(!asyncPan||!browserIsRemote) != async-scroll-1b.html async-scroll-1-ref.html +defaults + +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 +fails-if(layerChecksEnabled) == 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 +fails-if(layerChecksEnabled) != reftest-opaque-layer-fail.html about:blank +fails-if(layerChecksEnabled) != 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 +fails-if(layerChecksEnabled) == reftest-opaque-layer-wait-fail.html reftest-opaque-layer-fail.html +fails-if(layerChecksEnabled) != reftest-opaque-layer-wait-fail.html about:blank + +# reftest-assigned-layer +!= reftest-assigned-layer-pass.html about:blank +fails-if(layerChecksEnabled) != reftest-assigned-layer-fail-1.html about:blank +fails-if(layerChecksEnabled) != reftest-assigned-layer-fail-2.html about:blank +fails-if(layerChecksEnabled) != reftest-assigned-layer-fail-3.html about:blank +fails-if(layerChecksEnabled) != reftest-assigned-layer-fail-4.html about:blank + +# reftest-resolution +pref(apz.allow_zooming,true) == reftest-resolution.html reftest-resolution-ref.html + +== reftest-no-flush.html reftest-no-flush-ref.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..0b2870ff55 --- /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..d15b646149 --- /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