Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-ui/outline-color-004.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Basic User Interface Test: outline-color - respect accent-color </title>
<link rel="author" title="Helmut Januschka" href="mailto:helmut@januschka.com">
<link rel="help" title="'outline-color' should use 'accent-color' if auto"
<link rel="match" href="outline-color-004-ref.html">
<meta name="assert" content="Test Checks if accent-color is used when outline-color and outline-style auto">
<div style="padding: 10px; width: 200px; height: 50px; outline-style: solid; outline-color: auto; accent-color: red; color: purple;">
<div style="outline-style: auto; outline-color: inherit; accent-color: green; color: red;">Green inner outline with a
purple outer outline</div>
</div>