diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
commit | 26a029d407be480d791972afb5975cf62c9360a6 (patch) | |
tree | f435a8308119effd964b339f76abb83a57c29483 /testing/web-platform/tests/css/CSS2/cascade/support | |
parent | Initial commit. (diff) | |
download | firefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz firefox-26a029d407be480d791972afb5975cf62c9360a6.zip |
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/css/CSS2/cascade/support')
52 files changed, 203 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/CSS2/cascade/support/1x1-green.png b/testing/web-platform/tests/css/CSS2/cascade/support/1x1-green.png Binary files differnew file mode 100644 index 0000000000..b98ca0ba0a --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/cascade/support/1x1-green.png diff --git a/testing/web-platform/tests/css/CSS2/cascade/support/1x1-lime.png b/testing/web-platform/tests/css/CSS2/cascade/support/1x1-lime.png Binary files differnew file mode 100644 index 0000000000..cb397fb090 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/cascade/support/1x1-lime.png diff --git a/testing/web-platform/tests/css/CSS2/cascade/support/1x1-maroon.png b/testing/web-platform/tests/css/CSS2/cascade/support/1x1-maroon.png Binary files differnew file mode 100644 index 0000000000..3f86b07219 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/cascade/support/1x1-maroon.png diff --git a/testing/web-platform/tests/css/CSS2/cascade/support/1x1-navy.png b/testing/web-platform/tests/css/CSS2/cascade/support/1x1-navy.png Binary files differnew file mode 100644 index 0000000000..9b9a03955b --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/cascade/support/1x1-navy.png diff --git a/testing/web-platform/tests/css/CSS2/cascade/support/1x1-red.png b/testing/web-platform/tests/css/CSS2/cascade/support/1x1-red.png Binary files differnew file mode 100644 index 0000000000..6bd73ac101 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/cascade/support/1x1-red.png diff --git a/testing/web-platform/tests/css/CSS2/cascade/support/1x1-white.png b/testing/web-platform/tests/css/CSS2/cascade/support/1x1-white.png Binary files differnew file mode 100644 index 0000000000..dd43faec54 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/cascade/support/1x1-white.png diff --git a/testing/web-platform/tests/css/CSS2/cascade/support/60x60-gg-rr.png b/testing/web-platform/tests/css/CSS2/cascade/support/60x60-gg-rr.png Binary files differnew file mode 100644 index 0000000000..84f5b2a4f1 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/cascade/support/60x60-gg-rr.png diff --git a/testing/web-platform/tests/css/CSS2/cascade/support/60x60-green.png b/testing/web-platform/tests/css/CSS2/cascade/support/60x60-green.png Binary files differnew file mode 100644 index 0000000000..b3c8cf3eb4 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/cascade/support/60x60-green.png diff --git a/testing/web-platform/tests/css/CSS2/cascade/support/a-green.css b/testing/web-platform/tests/css/CSS2/cascade/support/a-green.css new file mode 100644 index 0000000000..b0dbb071d5 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/cascade/support/a-green.css @@ -0,0 +1 @@ +.a { color: green; } diff --git a/testing/web-platform/tests/css/CSS2/cascade/support/at-import-001.css b/testing/web-platform/tests/css/CSS2/cascade/support/at-import-001.css new file mode 100644 index 0000000000..747d0b7193 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/cascade/support/at-import-001.css @@ -0,0 +1,4 @@ +div +{ + color: red; +}
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/cascade/support/at-import-002.css b/testing/web-platform/tests/css/CSS2/cascade/support/at-import-002.css new file mode 100644 index 0000000000..1274411ed0 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/cascade/support/at-import-002.css @@ -0,0 +1,4 @@ +div +{ + color: green; +}
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/cascade/support/at-import-004.css b/testing/web-platform/tests/css/CSS2/cascade/support/at-import-004.css new file mode 100644 index 0000000000..747d0b7193 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/cascade/support/at-import-004.css @@ -0,0 +1,4 @@ +div +{ + color: red; +}
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/cascade/support/at-import-005.css b/testing/web-platform/tests/css/CSS2/cascade/support/at-import-005.css new file mode 100644 index 0000000000..1274411ed0 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/cascade/support/at-import-005.css @@ -0,0 +1,4 @@ +div +{ + color: green; +}
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/cascade/support/at-import-006.css b/testing/web-platform/tests/css/CSS2/cascade/support/at-import-006.css new file mode 100644 index 0000000000..1274411ed0 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/cascade/support/at-import-006.css @@ -0,0 +1,4 @@ +div +{ + color: green; +}
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/cascade/support/at-import-007.css b/testing/web-platform/tests/css/CSS2/cascade/support/at-import-007.css new file mode 100644 index 0000000000..1274411ed0 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/cascade/support/at-import-007.css @@ -0,0 +1,4 @@ +div +{ + color: green; +}
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/cascade/support/b-green.css b/testing/web-platform/tests/css/CSS2/cascade/support/b-green.css new file mode 100644 index 0000000000..a0473f5ca2 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/cascade/support/b-green.css @@ -0,0 +1 @@ +.b { color: green; }
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/cascade/support/blue15x15.png b/testing/web-platform/tests/css/CSS2/cascade/support/blue15x15.png Binary files differnew file mode 100644 index 0000000000..89de32fdb8 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/cascade/support/blue15x15.png diff --git a/testing/web-platform/tests/css/CSS2/cascade/support/c-red.css b/testing/web-platform/tests/css/CSS2/cascade/support/c-red.css new file mode 100644 index 0000000000..d4ba5c64e9 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/cascade/support/c-red.css @@ -0,0 +1 @@ +.c { color: red; }
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/cascade/support/cascade-007.css b/testing/web-platform/tests/css/CSS2/cascade/support/cascade-007.css new file mode 100644 index 0000000000..747d0b7193 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/cascade/support/cascade-007.css @@ -0,0 +1,4 @@ +div +{ + color: red; +}
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/cascade/support/cascade-012.css b/testing/web-platform/tests/css/CSS2/cascade/support/cascade-012.css new file mode 100644 index 0000000000..b68db0e060 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/cascade/support/cascade-012.css @@ -0,0 +1 @@ +.test { color: green ! important; }
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/cascade/support/cascade.css b/testing/web-platform/tests/css/CSS2/cascade/support/cascade.css new file mode 100644 index 0000000000..ab1084f632 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/cascade/support/cascade.css @@ -0,0 +1,22 @@ +#user-stylesheet-indication +{ + /* Used by the harness to display and indication there is a user-stylesheet applied */ + display: block!important; +} +#cascade +{ + /* Used by the test to hide the prerequsite */ + display: none; +} +.cascadered +{ + color: red; +} +.cascadegreen +{ + color: green; +} +.cascadegreenimportant +{ + color: green!important; +}
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/cascade/support/cat.png b/testing/web-platform/tests/css/CSS2/cascade/support/cat.png Binary files differnew file mode 100644 index 0000000000..85dd732481 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/cascade/support/cat.png diff --git a/testing/web-platform/tests/css/CSS2/cascade/support/diamond.png b/testing/web-platform/tests/css/CSS2/cascade/support/diamond.png Binary files differnew file mode 100644 index 0000000000..51112efc7c --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/cascade/support/diamond.png diff --git a/testing/web-platform/tests/css/CSS2/cascade/support/green15x15.png b/testing/web-platform/tests/css/CSS2/cascade/support/green15x15.png Binary files differnew file mode 100644 index 0000000000..51741584a0 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/cascade/support/green15x15.png diff --git a/testing/web-platform/tests/css/CSS2/cascade/support/html-attribute-017-frame.htm b/testing/web-platform/tests/css/CSS2/cascade/support/html-attribute-017-frame.htm new file mode 100644 index 0000000000..7c93a6986a --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/cascade/support/html-attribute-017-frame.htm @@ -0,0 +1,14 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> + <head> + <title>CSS Test Suite: Frame for html-attribute-017</title> + <style type="text/css"> + body + { + background-color: green; + } + </style> + </head> + <body> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/cascade/support/html-attribute-021-frame.htm b/testing/web-platform/tests/css/CSS2/cascade/support/html-attribute-021-frame.htm new file mode 100644 index 0000000000..83eeaed2b7 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/cascade/support/html-attribute-021-frame.htm @@ -0,0 +1,16 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> + <head> + <title>CSS Test Suite: Frame for html-attribute-021</title> + <style type="text/css"> + * + { + background-color: green; + margin: 0; + } + </style> + </head> + <body> + <div>Filler Text</div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/cascade/support/html-attribute-022-frame.htm b/testing/web-platform/tests/css/CSS2/cascade/support/html-attribute-022-frame.htm new file mode 100644 index 0000000000..fcbe694940 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/cascade/support/html-attribute-022-frame.htm @@ -0,0 +1,16 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> + <head> + <title>CSS Test Suite: Frame for html-attribute-022</title> + <style type="text/css"> + * + { + background-color: green; + margin: 0; + } + </style> + </head> + <body> + <div>Filler Text</div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/cascade/support/html-precedence-003.css b/testing/web-platform/tests/css/CSS2/cascade/support/html-precedence-003.css new file mode 100644 index 0000000000..9c7bf87c62 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/cascade/support/html-precedence-003.css @@ -0,0 +1,18 @@ +#user-stylesheet-indication +{ + /* Used by the harness to display and indication there is a user-stylesheet applied */ + display: block!important; +} +#htmlPrecedence003 +{ + /* Used by the test to hide the prerequsite */ + display: none; +} +* +{ + color: red; +} +font +{ + text-decoration: underline; +}
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/cascade/support/import-green.css b/testing/web-platform/tests/css/CSS2/cascade/support/import-green.css new file mode 100644 index 0000000000..537104e663 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/cascade/support/import-green.css @@ -0,0 +1 @@ +.import { color: green; } diff --git a/testing/web-platform/tests/css/CSS2/cascade/support/import-red.css b/testing/web-platform/tests/css/CSS2/cascade/support/import-red.css new file mode 100644 index 0000000000..9945ef4711 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/cascade/support/import-red.css @@ -0,0 +1 @@ +.import { color: red; } diff --git a/testing/web-platform/tests/css/CSS2/cascade/support/pattern-grg-rgr-grg.png b/testing/web-platform/tests/css/CSS2/cascade/support/pattern-grg-rgr-grg.png Binary files differnew file mode 100644 index 0000000000..9b88fbd811 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/cascade/support/pattern-grg-rgr-grg.png diff --git a/testing/web-platform/tests/css/CSS2/cascade/support/pattern-grg-rrg-rgg.png b/testing/web-platform/tests/css/CSS2/cascade/support/pattern-grg-rrg-rgg.png Binary files differnew file mode 100644 index 0000000000..fcf4f3fd7d --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/cascade/support/pattern-grg-rrg-rgg.png diff --git a/testing/web-platform/tests/css/CSS2/cascade/support/pattern-rgr-grg-rgr.png b/testing/web-platform/tests/css/CSS2/cascade/support/pattern-rgr-grg-rgr.png Binary files differnew file mode 100644 index 0000000000..d454e3a630 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/cascade/support/pattern-rgr-grg-rgr.png diff --git a/testing/web-platform/tests/css/CSS2/cascade/support/pattern-tr.png b/testing/web-platform/tests/css/CSS2/cascade/support/pattern-tr.png Binary files differnew file mode 100644 index 0000000000..8b4b25364e --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/cascade/support/pattern-tr.png diff --git a/testing/web-platform/tests/css/CSS2/cascade/support/red15x15.png b/testing/web-platform/tests/css/CSS2/cascade/support/red15x15.png Binary files differnew file mode 100644 index 0000000000..39005d7e6b --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/cascade/support/red15x15.png diff --git a/testing/web-platform/tests/css/CSS2/cascade/support/ring.png b/testing/web-platform/tests/css/CSS2/cascade/support/ring.png Binary files differnew file mode 100644 index 0000000000..061bb94eba --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/cascade/support/ring.png diff --git a/testing/web-platform/tests/css/CSS2/cascade/support/square-purple.png b/testing/web-platform/tests/css/CSS2/cascade/support/square-purple.png Binary files differnew file mode 100644 index 0000000000..0f522d7872 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/cascade/support/square-purple.png diff --git a/testing/web-platform/tests/css/CSS2/cascade/support/square-teal.png b/testing/web-platform/tests/css/CSS2/cascade/support/square-teal.png Binary files differnew file mode 100644 index 0000000000..e567f51b91 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/cascade/support/square-teal.png diff --git a/testing/web-platform/tests/css/CSS2/cascade/support/square-white.png b/testing/web-platform/tests/css/CSS2/cascade/support/square-white.png Binary files differnew file mode 100644 index 0000000000..5853cbb238 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/cascade/support/square-white.png diff --git a/testing/web-platform/tests/css/CSS2/cascade/support/swatch-blue.png b/testing/web-platform/tests/css/CSS2/cascade/support/swatch-blue.png Binary files differnew file mode 100644 index 0000000000..bf2759634d --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/cascade/support/swatch-blue.png diff --git a/testing/web-platform/tests/css/CSS2/cascade/support/swatch-green.png b/testing/web-platform/tests/css/CSS2/cascade/support/swatch-green.png Binary files differnew file mode 100644 index 0000000000..0aa79b0c86 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/cascade/support/swatch-green.png diff --git a/testing/web-platform/tests/css/CSS2/cascade/support/swatch-lime.png b/testing/web-platform/tests/css/CSS2/cascade/support/swatch-lime.png Binary files differnew file mode 100644 index 0000000000..55fd7fdaed --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/cascade/support/swatch-lime.png diff --git a/testing/web-platform/tests/css/CSS2/cascade/support/swatch-orange.png b/testing/web-platform/tests/css/CSS2/cascade/support/swatch-orange.png Binary files differnew file mode 100644 index 0000000000..d3cd498b52 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/cascade/support/swatch-orange.png diff --git a/testing/web-platform/tests/css/CSS2/cascade/support/swatch-red.png b/testing/web-platform/tests/css/CSS2/cascade/support/swatch-red.png Binary files differnew file mode 100644 index 0000000000..1caf25c992 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/cascade/support/swatch-red.png diff --git a/testing/web-platform/tests/css/CSS2/cascade/support/swatch-white.png b/testing/web-platform/tests/css/CSS2/cascade/support/swatch-white.png Binary files differnew file mode 100644 index 0000000000..1a7d4323d7 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/cascade/support/swatch-white.png diff --git a/testing/web-platform/tests/css/CSS2/cascade/support/swatch-yellow.png b/testing/web-platform/tests/css/CSS2/cascade/support/swatch-yellow.png Binary files differnew file mode 100644 index 0000000000..1591aa0e2e --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/cascade/support/swatch-yellow.png diff --git a/testing/web-platform/tests/css/CSS2/cascade/support/test-bl.png b/testing/web-platform/tests/css/CSS2/cascade/support/test-bl.png Binary files differnew file mode 100644 index 0000000000..904e24e996 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/cascade/support/test-bl.png diff --git a/testing/web-platform/tests/css/CSS2/cascade/support/test-br.png b/testing/web-platform/tests/css/CSS2/cascade/support/test-br.png Binary files differnew file mode 100644 index 0000000000..f413ff5c1a --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/cascade/support/test-br.png diff --git a/testing/web-platform/tests/css/CSS2/cascade/support/test-outer.png b/testing/web-platform/tests/css/CSS2/cascade/support/test-outer.png Binary files differnew file mode 100644 index 0000000000..82eeace7fc --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/cascade/support/test-outer.png diff --git a/testing/web-platform/tests/css/CSS2/cascade/support/test-tl.png b/testing/web-platform/tests/css/CSS2/cascade/support/test-tl.png Binary files differnew file mode 100644 index 0000000000..f6ac0ef7e8 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/cascade/support/test-tl.png diff --git a/testing/web-platform/tests/css/CSS2/cascade/support/test-tr.png b/testing/web-platform/tests/css/CSS2/cascade/support/test-tr.png Binary files differnew file mode 100644 index 0000000000..59843ae54b --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/cascade/support/test-tr.png diff --git a/testing/web-platform/tests/css/CSS2/cascade/support/user-stylesheet.css b/testing/web-platform/tests/css/CSS2/cascade/support/user-stylesheet.css new file mode 100644 index 0000000000..2583799c46 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/cascade/support/user-stylesheet.css @@ -0,0 +1,83 @@ +#user-stylesheet-indication +{ + /* Used by the harness to display and indication there is a user-stylesheet applied */ + display: block!important; +} +#user-stylesheet +{ + /* Used by the test to hide the prerequsite */ + display: none; +} +/* Style rules separated to eliminate grouping issues */ +#user-stylesheet-001 +{ + color: green; +} +#user-stylesheet-002 +{ + color: green; +} +#user-stylesheet-003 +{ + color: red; +} +#user-stylesheet-004 +{ + color: red; +} +#user-stylesheet-005 span +{ + color: green; +} +#user-stylesheet-006 > span +{ + color: green; +} +#user-stylesheet-007 + p +{ + color: green; +} +*[class=user-stylesheet-008] +{ + color: green; +} +#user-stylesheet-009 +{ + color: green; +} +#user-stylesheet-010 > *:first-child +{ + color: green; +} +#user-stylesheet-011:first-line +{ + color: green; +} +#user-stylesheet-012:link +{ + color: green; +} +#user-stylesheet-013:visited +{ + color: green; +} +#user-stylesheet-014:hover +{ + color: green; +} +#user-stylesheet-015:active +{ + color: green; +} +#user-stylesheet-016:first-letter +{ + color: green; +} +#user-stylesheet-017:before +{ + content: "PASS PASS"; +} +#user-stylesheet-018:after +{ + content: "PASS PASS"; +}
\ No newline at end of file |