Status: FAIL | Duration: 12ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-color/currentcolor-004.html
<!DOCTYPE html> <meta charset="utf-8"> <link rel="match" href="currentcolor-004-ref.html"> <title>currentcolor and visited inherited parent color</title> <link rel="help" href="https://drafts.csswg.org/css-color-4/#resolving-other-colors"> <link rel="author" title="Matthieu Dubet" href="https://github.com/mdubet"> <style> a { color: red; } a:visited { color: green; } div { color: currentcolor; } </style> <div> <a href=""><div>This should be green and not red.</div></a> </div>
/css/css-color/currentcolor-004-ref.html
<!DOCTYPE html> <meta charset="utf-8"> <style> * { color: green; } </style> <div> <a href=""><div>This should be green and not red.</div></a> </div>