summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-42.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/forced-colors-mode/forced-colors-mode-42.html')
-rw-r--r--testing/web-platform/tests/forced-colors-mode/forced-colors-mode-42.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-42.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-42.html
new file mode 100644
index 0000000000..9d4cfadcc0
--- /dev/null
+++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-42.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>Forced colors mode - visited caret-color.</title>
+<link rel="help" href="https://www.w3.org/TR/css-color-adjust-1/#forced-colors-properties">
+<link rel=match href="forced-colors-mode-42-ref.html">
+<style>
+ a {
+ caret-color: orange;
+ }
+ a:visited {
+ caret-color: red;
+ }
+ [contenteditable] {
+ outline: none;
+ }
+</style>
+<a id="link" contenteditable href="">link</a>
+<script>
+ window.onload = function() {
+ document.getElementById("link").focus();
+ }
+</script>
+