summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-pseudo/target-text-008-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-pseudo/target-text-008-ref.html')
-rw-r--r--testing/web-platform/tests/css/css-pseudo/target-text-008-ref.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-pseudo/target-text-008-ref.html b/testing/web-platform/tests/css/css-pseudo/target-text-008-ref.html
new file mode 100644
index 0000000000..d9082b822f
--- /dev/null
+++ b/testing/web-platform/tests/css/css-pseudo/target-text-008-ref.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html lang="en">
+<meta charset="utf-8" />
+<title>CSS Pseudo-Elements Test: Reference</title>
+<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
+<style>
+ a::target-text {
+ color: lime;
+ background: green;
+ }
+</style>
+
+<p>Test passes if the link below has lime color and green background.</p>
+<a href="">visited</a>
+
+<script>
+ window.location.hash = "#:~:text=visited";
+</script>