From 36d22d82aa202bb199967e9512281e9a53db42c9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 21:33:14 +0200 Subject: Adding upstream version 115.7.0esr. Signed-off-by: Daniel Baumann --- layout/reftests/css-parsing/at-rule-013-ref.html | 25 ++++ layout/reftests/css-parsing/at-rule-013.html | 68 +++++++++++ .../at-rule-error-handling-import-1.html | 5 + .../at-rule-error-handling-media-1.html | 5 + .../css-parsing/at-rule-error-handling-ref.html | 3 + layout/reftests/css-parsing/green-ref.html | 2 + .../reftests/css-parsing/invalid-attr-1-ref.html | 15 +++ layout/reftests/css-parsing/invalid-attr-1.html | 25 ++++ .../invalid-font-face-descriptor-1-ref.html | 5 + .../invalid-font-face-descriptor-1.html | 10 ++ .../css-parsing/invalid-url-handling-ref.xhtml | 32 +++++ .../css-parsing/invalid-url-handling.xhtml | 135 +++++++++++++++++++++ layout/reftests/css-parsing/moz-bool-pref.css | 22 ++++ .../css-parsing/pseudo-elements-1-ref.html | 22 ++++ layout/reftests/css-parsing/pseudo-elements-1.html | 36 ++++++ layout/reftests/css-parsing/reftest.list | 12 ++ .../css-parsing/supports-moz-bool-pref-1.html | 7 ++ .../css-parsing/supports-moz-bool-pref-2.html | 7 ++ .../css-parsing/supports-moz-bool-pref-3.html | 4 + .../css-parsing/two-dash-identifiers-ref.html | 12 ++ .../reftests/css-parsing/two-dash-identifiers.html | 22 ++++ 21 files changed, 474 insertions(+) create mode 100644 layout/reftests/css-parsing/at-rule-013-ref.html create mode 100644 layout/reftests/css-parsing/at-rule-013.html create mode 100644 layout/reftests/css-parsing/at-rule-error-handling-import-1.html create mode 100644 layout/reftests/css-parsing/at-rule-error-handling-media-1.html create mode 100644 layout/reftests/css-parsing/at-rule-error-handling-ref.html create mode 100644 layout/reftests/css-parsing/green-ref.html create mode 100644 layout/reftests/css-parsing/invalid-attr-1-ref.html create mode 100644 layout/reftests/css-parsing/invalid-attr-1.html create mode 100644 layout/reftests/css-parsing/invalid-font-face-descriptor-1-ref.html create mode 100644 layout/reftests/css-parsing/invalid-font-face-descriptor-1.html create mode 100644 layout/reftests/css-parsing/invalid-url-handling-ref.xhtml create mode 100644 layout/reftests/css-parsing/invalid-url-handling.xhtml create mode 100644 layout/reftests/css-parsing/moz-bool-pref.css create mode 100644 layout/reftests/css-parsing/pseudo-elements-1-ref.html create mode 100644 layout/reftests/css-parsing/pseudo-elements-1.html create mode 100644 layout/reftests/css-parsing/reftest.list create mode 100644 layout/reftests/css-parsing/supports-moz-bool-pref-1.html create mode 100644 layout/reftests/css-parsing/supports-moz-bool-pref-2.html create mode 100644 layout/reftests/css-parsing/supports-moz-bool-pref-3.html create mode 100644 layout/reftests/css-parsing/two-dash-identifiers-ref.html create mode 100644 layout/reftests/css-parsing/two-dash-identifiers.html (limited to 'layout/reftests/css-parsing') diff --git a/layout/reftests/css-parsing/at-rule-013-ref.html b/layout/reftests/css-parsing/at-rule-013-ref.html new file mode 100644 index 0000000000..6574ee5afe --- /dev/null +++ b/layout/reftests/css-parsing/at-rule-013-ref.html @@ -0,0 +1,25 @@ + + + + + CSS Test: Ignoring at-rules inside @media blocks + + + + +

This sentence must be green.

+

This sentence must be green.

+

This sentence must be green.

+

This sentence must be green.

+ + diff --git a/layout/reftests/css-parsing/at-rule-013.html b/layout/reftests/css-parsing/at-rule-013.html new file mode 100644 index 0000000000..fa8981f050 --- /dev/null +++ b/layout/reftests/css-parsing/at-rule-013.html @@ -0,0 +1,68 @@ + + + + + CSS Test: Ignoring at-rules inside @media blocks + + + + + + + + +

This sentence must be green.

+

This sentence must be green.

+

This sentence must be green.

+

This sentence must be green.

+ + diff --git a/layout/reftests/css-parsing/at-rule-error-handling-import-1.html b/layout/reftests/css-parsing/at-rule-error-handling-import-1.html new file mode 100644 index 0000000000..5dc0acf945 --- /dev/null +++ b/layout/reftests/css-parsing/at-rule-error-handling-import-1.html @@ -0,0 +1,5 @@ + +Test for unexpected end of @import + + +
This should be green
diff --git a/layout/reftests/css-parsing/at-rule-error-handling-media-1.html b/layout/reftests/css-parsing/at-rule-error-handling-media-1.html new file mode 100644 index 0000000000..349410129e --- /dev/null +++ b/layout/reftests/css-parsing/at-rule-error-handling-media-1.html @@ -0,0 +1,5 @@ + +Test for unexpected end of @import + + +
This should be green
diff --git a/layout/reftests/css-parsing/at-rule-error-handling-ref.html b/layout/reftests/css-parsing/at-rule-error-handling-ref.html new file mode 100644 index 0000000000..73458df754 --- /dev/null +++ b/layout/reftests/css-parsing/at-rule-error-handling-ref.html @@ -0,0 +1,3 @@ + +Test for unexpected end of @import (reference) +
This should be green
diff --git a/layout/reftests/css-parsing/green-ref.html b/layout/reftests/css-parsing/green-ref.html new file mode 100644 index 0000000000..ebd2d860ce --- /dev/null +++ b/layout/reftests/css-parsing/green-ref.html @@ -0,0 +1,2 @@ + +
diff --git a/layout/reftests/css-parsing/invalid-attr-1-ref.html b/layout/reftests/css-parsing/invalid-attr-1-ref.html new file mode 100644 index 0000000000..fce005c460 --- /dev/null +++ b/layout/reftests/css-parsing/invalid-attr-1-ref.html @@ -0,0 +1,15 @@ + + + + + + + +

This text should be green.

+
This text should be green.

+ + diff --git a/layout/reftests/css-parsing/invalid-attr-1.html b/layout/reftests/css-parsing/invalid-attr-1.html new file mode 100644 index 0000000000..b418575bba --- /dev/null +++ b/layout/reftests/css-parsing/invalid-attr-1.html @@ -0,0 +1,25 @@ + + + + + + + +

This text should be green.

+
This text should be green.

+ + diff --git a/layout/reftests/css-parsing/invalid-font-face-descriptor-1-ref.html b/layout/reftests/css-parsing/invalid-font-face-descriptor-1-ref.html new file mode 100644 index 0000000000..1e86fba7ea --- /dev/null +++ b/layout/reftests/css-parsing/invalid-font-face-descriptor-1-ref.html @@ -0,0 +1,5 @@ + + +There should be no red diff --git a/layout/reftests/css-parsing/invalid-font-face-descriptor-1.html b/layout/reftests/css-parsing/invalid-font-face-descriptor-1.html new file mode 100644 index 0000000000..43ab568f34 --- /dev/null +++ b/layout/reftests/css-parsing/invalid-font-face-descriptor-1.html @@ -0,0 +1,10 @@ + + +There should be no red diff --git a/layout/reftests/css-parsing/invalid-url-handling-ref.xhtml b/layout/reftests/css-parsing/invalid-url-handling-ref.xhtml new file mode 100644 index 0000000000..77dc50ba97 --- /dev/null +++ b/layout/reftests/css-parsing/invalid-url-handling-ref.xhtml @@ -0,0 +1,32 @@ + + + + CSS Test: handling of invalid url() functions (reference) + + + + + +
This should have a green background
+
This should have a green background
+
This should have a green background
+
This should have a green background
+
This should have a green background
+
This should have a green background
+
This should have a green background
+
This should have a green background
+
This should have a green background
+
This should have a green background
+
This should have a green background
+
This should have a green background
+
This should have a green background
+
This should have a green background
+
This should have a green background
+
This should have a green background
+
This should have a green background
+
This should have a green background
+
This should have a green background
+ + diff --git a/layout/reftests/css-parsing/invalid-url-handling.xhtml b/layout/reftests/css-parsing/invalid-url-handling.xhtml new file mode 100644 index 0000000000..e6b85a81c9 --- /dev/null +++ b/layout/reftests/css-parsing/invalid-url-handling.xhtml @@ -0,0 +1,135 @@ + + + + CSS Test: handling of invalid url() functions + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
This should have a green background
+
This should have a green background
+
This should have a green background
+
This should have a green background
+
This should have a green background
+
This should have a green background
+
This should have a green background
+
This should have a green background
+
This should have a green background
+
This should have a green background
+
This should have a green background
+
This should have a green background
+
This should have a green background
+
This should have a green background
+
This should have a green background
+
This should have a green background
+
This should have a green background
+
This should have a green background
+
This should have a green background
+ + diff --git a/layout/reftests/css-parsing/moz-bool-pref.css b/layout/reftests/css-parsing/moz-bool-pref.css new file mode 100644 index 0000000000..625906df34 --- /dev/null +++ b/layout/reftests/css-parsing/moz-bool-pref.css @@ -0,0 +1,22 @@ +#test { + width: 100px; + height: 100px; +} + +.enabled { + background: red; +} + +.disabled { + background: green; +} + +@supports -moz-bool-pref("testing.supports.moz-bool-pref") { + .enabled { + background: green; + } + + .disabled { + background: red; + } +} diff --git a/layout/reftests/css-parsing/pseudo-elements-1-ref.html b/layout/reftests/css-parsing/pseudo-elements-1-ref.html new file mode 100644 index 0000000000..df626f9c68 --- /dev/null +++ b/layout/reftests/css-parsing/pseudo-elements-1-ref.html @@ -0,0 +1,22 @@ +
T
h
e
r
e
s
h
o
u
l
d
b
e
n
o
r
e
d
diff --git a/layout/reftests/css-parsing/pseudo-elements-1.html b/layout/reftests/css-parsing/pseudo-elements-1.html new file mode 100644 index 0000000000..43690f862e --- /dev/null +++ b/layout/reftests/css-parsing/pseudo-elements-1.html @@ -0,0 +1,36 @@ +
T
h
e
r
e
s
h
o
u
l
d
b
e
n
o
r
e
d
diff --git a/layout/reftests/css-parsing/reftest.list b/layout/reftests/css-parsing/reftest.list new file mode 100644 index 0000000000..774186e0b9 --- /dev/null +++ b/layout/reftests/css-parsing/reftest.list @@ -0,0 +1,12 @@ +== at-rule-013.html at-rule-013-ref.html +== invalid-url-handling.xhtml invalid-url-handling-ref.xhtml +== pseudo-elements-1.html pseudo-elements-1-ref.html +== invalid-attr-1.html invalid-attr-1-ref.html +== at-rule-error-handling-import-1.html at-rule-error-handling-ref.html +== at-rule-error-handling-media-1.html at-rule-error-handling-ref.html +== invalid-font-face-descriptor-1.html invalid-font-face-descriptor-1-ref.html +== two-dash-identifiers.html two-dash-identifiers-ref.html + +test-pref(testing.supports.moz-bool-pref,true) == supports-moz-bool-pref-1.html green-ref.html +test-pref(testing.supports.moz-bool-pref,false) == supports-moz-bool-pref-2.html green-ref.html +test-pref(testing.supports.moz-bool-pref,true) == supports-moz-bool-pref-3.html green-ref.html diff --git a/layout/reftests/css-parsing/supports-moz-bool-pref-1.html b/layout/reftests/css-parsing/supports-moz-bool-pref-1.html new file mode 100644 index 0000000000..80b2f27c4f --- /dev/null +++ b/layout/reftests/css-parsing/supports-moz-bool-pref-1.html @@ -0,0 +1,7 @@ + + + + +
diff --git a/layout/reftests/css-parsing/supports-moz-bool-pref-2.html b/layout/reftests/css-parsing/supports-moz-bool-pref-2.html new file mode 100644 index 0000000000..324cd0d585 --- /dev/null +++ b/layout/reftests/css-parsing/supports-moz-bool-pref-2.html @@ -0,0 +1,7 @@ + + + + +
diff --git a/layout/reftests/css-parsing/supports-moz-bool-pref-3.html b/layout/reftests/css-parsing/supports-moz-bool-pref-3.html new file mode 100644 index 0000000000..b8dc055193 --- /dev/null +++ b/layout/reftests/css-parsing/supports-moz-bool-pref-3.html @@ -0,0 +1,4 @@ + + + +
diff --git a/layout/reftests/css-parsing/two-dash-identifiers-ref.html b/layout/reftests/css-parsing/two-dash-identifiers-ref.html new file mode 100644 index 0000000000..b6ffdbb01e --- /dev/null +++ b/layout/reftests/css-parsing/two-dash-identifiers-ref.html @@ -0,0 +1,12 @@ + + +
This should be green.
+
This should be green.
+
This should be green.
+
This should be green.
+
This should be green.
+
This should be green.
+
This should be green.
+
This should be green.
diff --git a/layout/reftests/css-parsing/two-dash-identifiers.html b/layout/reftests/css-parsing/two-dash-identifiers.html new file mode 100644 index 0000000000..9ea7854b92 --- /dev/null +++ b/layout/reftests/css-parsing/two-dash-identifiers.html @@ -0,0 +1,22 @@ + + +
This should be green.
+
This should be green.
+
This should be green.
+
This should be green.
+
This should be green.
+
This should be green.
+
This should be green.
+
This should be green.
-- cgit v1.2.3