Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-masking/clip-path/clip-path-url-reference-data-uri-svg-element.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<title>Referencing a <clipPath> element in a data: URL from an SVG element</title>
<link rel="match" href="reference/green-circle-100x100.html">
<meta name="fuzzy" content="0-36; 0-384">
<svg width="100" height="100">
<rect width="100" height="100" fill="green" clip-path="url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxjbGlwUGF0aCBpZD0iY2lyY2xlQ2xpcCIgY2xpcFBhdGhVbml0cz0ib2JqZWN0Qm91bmRpbmdCb3giPjxjaXJjbGUgY3g9IjAuNSIgY3k9IjAuNSIgcj0iMC41Ii8+PC9jbGlwUGF0aD48L3N2Zz4=#circleClip)"/>
</svg>