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/img-with-linked-parameters-1.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Link Parameters - img element with link-parameters property</title>
<link rel="author" title="Divyansh Mangal" href="mailto:dmangal@microsoft.com">
<link rel="match" href="circle-green-ref.html"/>
<style>
img {
link-parameters: param(--color, green);
}
</style>
<img src="circle-with-parameters.svg">