Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /svg/styling/css-linked-parameters/link-parameters-fragment-identifier.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<meta charset="utf-8">
<title>link-parameters: a fragment directive does not hide the fragment before it</title>
<link rel="author" title="Sam Weinig" href="mailto:sam@webkit.org">
<link rel="match" href="link-parameters-fragment-identifier-ref.html">
<meta name="assert" content="An image URL whose fragment has both an element id and a link parameter directive targets that element and passes the parameter.">
<style>
body { margin: 0; }
img { display: block; width: 100px; height: 100px; }
</style>
<img src="resources/target.svg#box:~:param(--bg, green)">