diff options
Diffstat (limited to 'testing/web-platform/tests/forced-colors-mode/forced-colors-mode-45.html')
-rw-r--r-- | testing/web-platform/tests/forced-colors-mode/forced-colors-mode-45.html | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-45.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-45.html new file mode 100644 index 0000000000..e667b82914 --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-45.html @@ -0,0 +1,20 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>Forced colors mode - caret-color with system 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-45-ref.html"> +<style> + div { + caret-color: GrayText; + } + [contenteditable] { + outline: none; + } +</style> +<div id="caret" contenteditable>The caret color should remain GrayText</a> +<script> + window.onload = function() { + document.getElementById("caret").focus(); + } +</script> + |