summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-pseudo/highlight-custom-properties-dynamic-001-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-pseudo/highlight-custom-properties-dynamic-001-ref.html')
-rw-r--r--testing/web-platform/tests/css/css-pseudo/highlight-custom-properties-dynamic-001-ref.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-pseudo/highlight-custom-properties-dynamic-001-ref.html b/testing/web-platform/tests/css/css-pseudo/highlight-custom-properties-dynamic-001-ref.html
new file mode 100644
index 0000000000..836874df05
--- /dev/null
+++ b/testing/web-platform/tests/css/css-pseudo/highlight-custom-properties-dynamic-001-ref.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<meta charset="UTF-8">
+<title>CSS Pseudo Test: Dynamic Custom Properties for Highlights</title>
+<link rel="author" title="Stephen Chenney" href="mailto:schenney@igalia.com">
+<head>
+ <style>
+ ::selection {
+ background-color: green;
+ }
+ </style>
+</head>
+<body>Green background when selected</body>
+<script>
+ window.getSelection().selectAllChildren(document.body);
+</script>
+</html> \ No newline at end of file