Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /svg/linking/reftests/media-fragment-spatial-img-element.html - WPT Dashboard Interop Dashboard
<!doctype html>
<title>SVG media fragment: spatial clipping via img element</title>
<link rel="match" href="../../struct/reftests/reference/green-100x100.html">
<!-- Test that xywh fragments work in <img> elements, not just CSS background-image -->
<img src="support/red-green-200x200.svg#xywh=100,100,100,100" width="100" height="100">