diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:22:09 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:22:09 +0000 |
commit | 43a97878ce14b72f0981164f87f2e35e14151312 (patch) | |
tree | 620249daf56c0258faa40cbdcf9cfba06de2a846 /testing/web-platform/tests/css/css-tables/paint | |
parent | Initial commit. (diff) | |
download | firefox-upstream.tar.xz firefox-upstream.zip |
Adding upstream version 110.0.1.upstream/110.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/css/css-tables/paint')
4 files changed, 72 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-tables/paint/col-paint-htb-rtl-ref.html b/testing/web-platform/tests/css/css-tables/paint/col-paint-htb-rtl-ref.html new file mode 100644 index 0000000000..107a960958 --- /dev/null +++ b/testing/web-platform/tests/css/css-tables/paint/col-paint-htb-rtl-ref.html @@ -0,0 +1,17 @@ +<!DOCTYPE html> +<style> +table { border: solid 2px; border-spacing: 5px; padding: 5px; } +col { background: linear-gradient(60deg, red 50%, blue 50%); } +</style> +<table> + <col style="width: 50px;"></col> + <col style="width: 100px;"></col> + <tr style="height: 100px;"> + <td></td> + <td></td> + </tr> + <tr style="height: 50px;"> + <td></td> + <td></td> + </tr> +</table> diff --git a/testing/web-platform/tests/css/css-tables/paint/col-paint-htb-rtl.html b/testing/web-platform/tests/css/css-tables/paint/col-paint-htb-rtl.html new file mode 100644 index 0000000000..1508421818 --- /dev/null +++ b/testing/web-platform/tests/css/css-tables/paint/col-paint-htb-rtl.html @@ -0,0 +1,19 @@ +<!DOCTYPE html> +<link rel="help" href="https://drafts.csswg.org/css-tables-3/#drawing-cell-backgrounds"> +<link rel="match" href="col-paint-htb-rtl-ref.html"> +<style> +table { border: solid 2px; border-spacing: 5px; padding: 5px; } +col { background: linear-gradient(60deg, red 50%, blue 50%); } +</style> +<table style="direction: rtl;"> + <col style="width: 100px;"></col> + <col style="width: 50px;"></col> + <tr style="height: 100px;"> + <td></td> + <td></td> + </tr> + <tr style="height: 50px;"> + <td></td> + <td></td> + </tr> +</table> diff --git a/testing/web-platform/tests/css/css-tables/paint/col-paint-vrl-rtl-ref.html b/testing/web-platform/tests/css/css-tables/paint/col-paint-vrl-rtl-ref.html new file mode 100644 index 0000000000..a651e03b1c --- /dev/null +++ b/testing/web-platform/tests/css/css-tables/paint/col-paint-vrl-rtl-ref.html @@ -0,0 +1,17 @@ +<!DOCTYPE html> +<style> +table { border: solid 2px; border-spacing: 5px; padding: 5px; } +col { background: linear-gradient(-60deg, red 50%, blue 50%); } +</style> +<table style="transform: rotate(90deg);"> + <col style="width: 100px;"></col> + <col style="width: 50px;"></col> + <tr style="height: 100px;"> + <td></td> + <td></td> + </tr> + <tr style="height: 50px;"> + <td></td> + <td></td> + </tr> +</table> diff --git a/testing/web-platform/tests/css/css-tables/paint/col-paint-vrl-rtl.html b/testing/web-platform/tests/css/css-tables/paint/col-paint-vrl-rtl.html new file mode 100644 index 0000000000..d76ea59dac --- /dev/null +++ b/testing/web-platform/tests/css/css-tables/paint/col-paint-vrl-rtl.html @@ -0,0 +1,19 @@ +<!DOCTYPE html> +<link rel="help" href="https://drafts.csswg.org/css-tables-3/#drawing-cell-backgrounds"> +<link rel="match" href="col-paint-vrl-rtl-ref.html"> +<style> +table { border: solid 2px; border-spacing: 5px; padding: 5px; } +col { background: linear-gradient(30deg, red 50%, blue 50%); } +</style> +<table style="writing-mode: vertical-rl; direction: rtl;"> + <col style="height: 50px;"></col> + <col style="height: 100px;"></col> + <tr style="width: 100px;"> + <td></td> + <td></td> + </tr> + <tr style="width: 50px;"> + <td></td> + <td></td> + </tr> +</table> |