Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /svg/styling/stroke-color-inherit-link-visited.svg - WPT Dashboard Interop Dashboard
<svg width="100" height="100" stroke="red" fill="none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:html="http://www.w3.org/1999/xhtml">
<html:link rel="help" href="https://developer.mozilla.org/en-US/docs/Web/CSS/Privacy_and_the_:visited_selector"/>
<html:link rel="match" href="stroke-color-inherit-link-visited-ref.svg"/>
<html:meta name="assert" content="Tests that stroke is correctly inherited in the presence of visited link"/>
<a xlink:href="">
<rect width="100" height="100" stroke-width="5"></rect>
</a>
</svg>