diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 05:43:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 05:43:14 +0000 |
commit | 8dd16259287f58f9273002717ec4d27e97127719 (patch) | |
tree | 3863e62a53829a84037444beab3abd4ed9dfc7d0 /testing/web-platform/tests/css/css-shadow-parts | |
parent | Releasing progress-linux version 126.0.1-1~progress7.99u1. (diff) | |
download | firefox-8dd16259287f58f9273002717ec4d27e97127719.tar.xz firefox-8dd16259287f58f9273002717ec4d27e97127719.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> |