Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>high contrast mode should cause a black box to be drawn</title>
<style type="text/css">
div {
width: 100px;
height: 100px;
}
@media (prefers-contrast: more) {
div {
outline: 2px solid #000000;
}
}
</style>
</head>
<body>
<div></div>
</body>
</html>