From 6bf0a5cb5034a7e684dcc3500e841785237ce2dd Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 19:32:43 +0200 Subject: Adding upstream version 1:115.7.0. Signed-off-by: Daniel Baumann --- .../CSS2/other-formats/background-color-176.html | 40 +++++++++++++++++ .../CSS2/other-formats/control-characters-001.html | 52 ++++++++++++++++++++++ .../CSS2/other-formats/xml-lang-selectors-001.html | 23 ++++++++++ .../CSS2/other-formats/xml-lang-selectors-002.html | 18 ++++++++ .../tests/css/CSS2/other-formats/xml/README | 2 + .../css/CSS2/other-formats/xml/background-18.css | 5 +++ .../css/CSS2/other-formats/xml/background-18.xml | 22 +++++++++ .../CSS2/other-formats/xml/background-19-alt.xml | 25 +++++++++++ .../css/CSS2/other-formats/xml/background-19.css | 6 +++ .../css/CSS2/other-formats/xml/background-19.xml | 23 ++++++++++ .../css/CSS2/other-formats/xml/background-20.xml | 15 +++++++ 11 files changed, 231 insertions(+) create mode 100644 testing/web-platform/tests/css/CSS2/other-formats/background-color-176.html create mode 100644 testing/web-platform/tests/css/CSS2/other-formats/control-characters-001.html create mode 100644 testing/web-platform/tests/css/CSS2/other-formats/xml-lang-selectors-001.html create mode 100644 testing/web-platform/tests/css/CSS2/other-formats/xml-lang-selectors-002.html create mode 100644 testing/web-platform/tests/css/CSS2/other-formats/xml/README create mode 100644 testing/web-platform/tests/css/CSS2/other-formats/xml/background-18.css create mode 100644 testing/web-platform/tests/css/CSS2/other-formats/xml/background-18.xml create mode 100644 testing/web-platform/tests/css/CSS2/other-formats/xml/background-19-alt.xml create mode 100644 testing/web-platform/tests/css/CSS2/other-formats/xml/background-19.css create mode 100644 testing/web-platform/tests/css/CSS2/other-formats/xml/background-19.xml create mode 100644 testing/web-platform/tests/css/CSS2/other-formats/xml/background-20.xml (limited to 'testing/web-platform/tests/css/CSS2/other-formats') diff --git a/testing/web-platform/tests/css/CSS2/other-formats/background-color-176.html b/testing/web-platform/tests/css/CSS2/other-formats/background-color-176.html new file mode 100644 index 0000000000..e127d46034 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/other-formats/background-color-176.html @@ -0,0 +1,40 @@ + + + + + + + + + CSS Test: background-color + + + + + + + + + + + + + + +
There should be 1 (and only 1) wide orange rectangle across the page
+ +

+ +

+
+
+ + + diff --git a/testing/web-platform/tests/css/CSS2/other-formats/control-characters-001.html b/testing/web-platform/tests/css/CSS2/other-formats/control-characters-001.html new file mode 100644 index 0000000000..85d70d4a07 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/other-formats/control-characters-001.html @@ -0,0 +1,52 @@ + + + + CSS Test: Control Characters between (00 and 1F) + + + + + + + + +

Test passes if there is only a single character in each box below or the box is empty.

+ +
+

+

+

+

+

+

+

+

+
+
+

+

+

+

+

+

+

+

+

+

+

+

+

+

+

+

+

+

+ + diff --git a/testing/web-platform/tests/css/CSS2/other-formats/xml-lang-selectors-001.html b/testing/web-platform/tests/css/CSS2/other-formats/xml-lang-selectors-001.html new file mode 100644 index 0000000000..23cba235f6 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/other-formats/xml-lang-selectors-001.html @@ -0,0 +1,23 @@ + + + + CSS Test: xml:lang attribute selector in HTML + + + + + + + + + +

There must be no red.

+ + diff --git a/testing/web-platform/tests/css/CSS2/other-formats/xml-lang-selectors-002.html b/testing/web-platform/tests/css/CSS2/other-formats/xml-lang-selectors-002.html new file mode 100644 index 0000000000..5e86e8d0be --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/other-formats/xml-lang-selectors-002.html @@ -0,0 +1,18 @@ + + + + CSS Test: xml:lang with :lang() selector in HTML + + + + + + + + + +

There must be no red.

+ + diff --git a/testing/web-platform/tests/css/CSS2/other-formats/xml/README b/testing/web-platform/tests/css/CSS2/other-formats/xml/README new file mode 100644 index 0000000000..0485715fb1 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/other-formats/xml/README @@ -0,0 +1,2 @@ +This directory is for non-HTML non-XHTML test files. +They need to be hand-indexed separately. diff --git a/testing/web-platform/tests/css/CSS2/other-formats/xml/background-18.css b/testing/web-platform/tests/css/CSS2/other-formats/xml/background-18.css new file mode 100644 index 0000000000..31af564064 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/other-formats/xml/background-18.css @@ -0,0 +1,5 @@ + + generic { background: green; border: lime 1em solid; margin: 1em; padding: 1em; color: yellow; } + generic, p { display: block; } + a[*|href] { color: inherit; background: transparent; text-decoration: underline; cursor: pointer; } + * { margin: 1em; padding: 1em; } diff --git a/testing/web-platform/tests/css/CSS2/other-formats/xml/background-18.xml b/testing/web-platform/tests/css/CSS2/other-formats/xml/background-18.xml new file mode 100644 index 0000000000..54511ed24d --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/other-formats/xml/background-18.xml @@ -0,0 +1,22 @@ + + + + + + + + CSS Test: Background: Test Eighteen + + + + + + +

This is an XML document. This paragraph and the links below + should have two lime borders surrounding them, and the + background EVERYWHERE should be green. Including the canvas. THE + ROOT ELEMENT SHOULD NOT STRETCH TO FIT THE VIEWPORT!

+ +
+ +
diff --git a/testing/web-platform/tests/css/CSS2/other-formats/xml/background-19-alt.xml b/testing/web-platform/tests/css/CSS2/other-formats/xml/background-19-alt.xml new file mode 100644 index 0000000000..c2891d2835 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/other-formats/xml/background-19-alt.xml @@ -0,0 +1,25 @@ + + + + + + + + + + + + CSS Test: Background: Test Nineteen + + This is an XML document. This paragraph should have one long + lime border surrounding each line, since this text is the root + element and the root element is an inline element. + + The background EVERYWHERE should be green. Including the canvas. + THE ROOT ELEMENT SHOULD NOT STRETCH TO FIT THE VIEWPORT! + + THIS PAGE SHOULD LOOK EXACTLY LIKE THIS ALTERNATIVE! + + + + diff --git a/testing/web-platform/tests/css/CSS2/other-formats/xml/background-19.css b/testing/web-platform/tests/css/CSS2/other-formats/xml/background-19.css new file mode 100644 index 0000000000..e5ac35ace8 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/other-formats/xml/background-19.css @@ -0,0 +1,6 @@ + + generic { background: green; border: lime 1em solid; margin: 1em; padding: 1em; color: yellow; } + generic { display: inline; line-height: 7em; } + a[*|href] { color: inherit; background: transparent; text-decoration: underline; cursor: pointer; } + * { margin: 1em; padding: 1em; } + root { padding: 0; margin: 0; background: transparent; background: green; } \ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/other-formats/xml/background-19.xml b/testing/web-platform/tests/css/CSS2/other-formats/xml/background-19.xml new file mode 100644 index 0000000000..d20be7eb8a --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/other-formats/xml/background-19.xml @@ -0,0 +1,23 @@ + + + + + + + + + + + + CSS Test: Background: Test Nineteen + + This is an XML document. This paragraph should have one long + lime border surrounding each line, since this text is the root + element and the root element is an inline element. + + The background EVERYWHERE should be green. Including the canvas. + THE ROOT ELEMENT SHOULD NOT STRETCH TO FIT THE VIEWPORT! + + THIS PAGE SHOULD LOOK EXACTLY LIKE THIS ALTERNATIVE! + + diff --git a/testing/web-platform/tests/css/CSS2/other-formats/xml/background-20.xml b/testing/web-platform/tests/css/CSS2/other-formats/xml/background-20.xml new file mode 100644 index 0000000000..b1029c12f7 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/other-formats/xml/background-20.xml @@ -0,0 +1,15 @@ + + + Background (non-)propagation in XML + + + + + + +

This document should have one line of green.

+ +
-- cgit v1.2.3