summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-pseudo/highlight-cascade-006.xhtml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:43:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:43:14 +0000
commit8dd16259287f58f9273002717ec4d27e97127719 (patch)
tree3863e62a53829a84037444beab3abd4ed9dfc7d0 /testing/web-platform/tests/css/css-pseudo/highlight-cascade-006.xhtml
parentReleasing progress-linux version 126.0.1-1~progress7.99u1. (diff)
downloadfirefox-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-006.xhtml')
-rw-r--r--testing/web-platform/tests/css/css-pseudo/highlight-cascade-006.xhtml34
1 files changed, 0 insertions, 34 deletions
diff --git a/testing/web-platform/tests/css/css-pseudo/highlight-cascade-006.xhtml b/testing/web-platform/tests/css/css-pseudo/highlight-cascade-006.xhtml
deleted file mode 100644
index fb6d07f8f0..0000000000
--- a/testing/web-platform/tests/css/css-pseudo/highlight-cascade-006.xhtml
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version="1.0"?><!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head>
-<meta charset="utf-8"/>
-<title>CSS Pseudo-Elements Test: highlight cascade: inheritance with both universal and namespace-universal rules</title>
-<link rel="author" title="Delan Azabani" href="mailto:dazabani@igalia.com"/>
-<link rel="help" href="https://drafts.csswg.org/css-pseudo-4/#highlight-cascade"/>
-<link rel="match" href="highlight-cascade-006-ref.xhtml"/>
-<meta name="assert" content="This test verifies that, given both universal ::selection rules and ::selection rules that are actually non-universal due to an explicit namespace prefix or default @namespace rule, the non-universal rules are not erroneously treated as universal."/>
-<script src="support/selections.js"></script>
-<style>
- main * { all: initial; display: block; }
- ::selection { color: green; } /* 1. universal (* means *|* if there is no default @namespace) */
- .red::selection { color: red; } /* 2. not universal; matches only .red */
-</style>
-<style>
- @namespace "http://example.org/default";
- @namespace foo "http://example.org/foo";
- *|*.bar::selection { color: red; } /* 3. not universal; matches only .bar */
- |*::selection { color: red; } /* 4. not universal; matches only no/empty xmlns */
- foo|*::selection { color: red; } /* 5. not universal; matches only xmlns http://example.org/foo */
- ::selection { color: red; } /* 6. not universal; matches only xmlns http://example.org/default */
-</style>
-</head><body>
-<main xmlns:other="http://example.org/other">
- <!-- div.red is red (1+2), span.bar is red (1+3), other:a is green (1) -->
- <div class="red"><span class="bar"><other:a>green</other:a></span></div>
- <!-- div.red is red (1+2), empty is red (1+4), other:b is green (1) -->
- <div class="red"><empty xmlns=""><other:b>green</other:b></empty></div>
- <!-- div.red is red (1+2), foo is red (1+5), other:c is green (1) -->
- <div class="red"><foo xmlns="http://example.org/foo"><other:c>green</other:c></foo></div>
- <!-- div.red is red (1+2), default is red (1+6), other:d is green (1) -->
- <div class="red"><default xmlns="http://example.org/default"><other:d>green</other:d></default></div>
-</main>
-<script>selectNodeContents(document.body);</script>
-</body></html>