Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<meta charset="utf-8">
<title>Forced colors mode - visited caret-color.</title>
<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>