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-pseudo/highlight-cascade-008.html | |
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-pseudo/highlight-cascade-008.html')
-rw-r--r-- | testing/web-platform/tests/css/css-pseudo/highlight-cascade-008.html | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/testing/web-platform/tests/css/css-pseudo/highlight-cascade-008.html b/testing/web-platform/tests/css/css-pseudo/highlight-cascade-008.html deleted file mode 100644 index 10ca924b8f..0000000000 --- a/testing/web-platform/tests/css/css-pseudo/highlight-cascade-008.html +++ /dev/null @@ -1,31 +0,0 @@ -<!DOCTYPE html> -<title>Custom property values from the root element</title> -<link rel="author" title="Stephen Chenney" href="mailto:schenney@chromium.org"> -<link rel="help" href="https://drafts.csswg.org/css-pseudo-4/#highlight-cascade"> -<link rel="match" href="highlight-cascade-008-ref.html"> -<meta name="assert" value="This test verifies that when a custom property is not found in highlight cascade, its value is taken from the root element."> -<meta name="fuzzy" content="0-255;0-10"> -<script src="support/selections.js"></script> -<style> - :root { - --background-color: green; - --decoration-color: purple; - } - ::selection { - --decoration-color: yellow; - } - div::selection { - background-color: var(--background-color, red); - text-decoration-line: underline; - text-decoration-style: line; - text-decoration-color: var(--decoration-color, red); - } - span::selection { - --background-color: blue; - background-color: var(--background-color, red); - } -</style> -<div style="width: 300px">PASS if background-color is green when selected, <span>except this which is blue</span>, and underline is yellow.</div> -<script> - selectNodeContents(document.querySelector("div")); -</script>
\ No newline at end of file |