diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 05:35:37 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 05:35:37 +0000 |
commit | a90a5cba08fdf6c0ceb95101c275108a152a3aed (patch) | |
tree | 532507288f3defd7f4dcf1af49698bcb76034855 /testing/web-platform/tests/css/css-shadow-parts | |
parent | Adding debian version 126.0.1-1. (diff) | |
download | firefox-a90a5cba08fdf6c0ceb95101c275108a152a3aed.tar.xz firefox-a90a5cba08fdf6c0ceb95101c275108a152a3aed.zip |
Merging upstream version 127.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/css/css-shadow-parts')
3 files changed, 29 insertions, 1 deletions
diff --git a/testing/web-platform/tests/css/css-shadow-parts/invalidation-part-pseudo.html b/testing/web-platform/tests/css/css-shadow-parts/invalidation-part-pseudo.html index fca4a964dc..66df33a4b7 100644 --- a/testing/web-platform/tests/css/css-shadow-parts/invalidation-part-pseudo.html +++ b/testing/web-platform/tests/css/css-shadow-parts/invalidation-part-pseudo.html @@ -3,7 +3,6 @@ <link rel="help" href="https://drafts.csswg.org/css-shadow-parts" > <link rel="help" href="https://drafts.csswg.org/selectors/#matches"> <link href="https://drafts.csswg.org/selectors/#matches" rel="help"> -<link rel="match" href="interaction-with-nested-pseudo-class-ref.html"> <script src="/resources/testharness.js"></script> <script src="/resources/testharnessreport.js"></script> <script src="/resources/testdriver.js"></script> diff --git a/testing/web-platform/tests/css/css-shadow-parts/part-after-combinator-invalidation-ref.html b/testing/web-platform/tests/css/css-shadow-parts/part-after-combinator-invalidation-ref.html new file mode 100644 index 0000000000..d6db0d0e4c --- /dev/null +++ b/testing/web-platform/tests/css/css-shadow-parts/part-after-combinator-invalidation-ref.html @@ -0,0 +1,3 @@ +<!doctype html> +<meta charset="utf-8"> +<div>What color am I?</div> diff --git a/testing/web-platform/tests/css/css-shadow-parts/part-after-combinator-invalidation.html b/testing/web-platform/tests/css/css-shadow-parts/part-after-combinator-invalidation.html new file mode 100644 index 0000000000..76beabe885 --- /dev/null +++ b/testing/web-platform/tests/css/css-shadow-parts/part-after-combinator-invalidation.html @@ -0,0 +1,26 @@ +<!doctype html> +<meta charset="utf-8"> +<link rel="help" href="https://drafts.csswg.org/css-shadow-parts"> +<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1891296"> +<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez"> +<link rel="author" href="https://mozilla.org" title="Mozilla"> +<link rel="match" href="part-after-combinator-invalidation-ref.html"> +<style> +.inactive > ::part(content) { + color: red; +} +</style> +<div class="inactive"> + <div id="host"> + <template shadowrootmode="open"> + <div part="content">What color am I?</div> + </template> + </div> +</div> +<script> +onload = () => { + host.getBoundingClientRect(); + host.parentNode.className = ""; + host.getBoundingClientRect(); +}; +</script> |