blob: 2b4309d93844e78d87882ca8111fd3ca365d40cd [file] [log] [blame]
<!DOCTYPE html>
<html>
<body>
<svg width="300" height="300" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1">
<defs>
<clipPath id="clip1">
<rect x="200" y="200" width="100" height="100"/>
</clipPath>
</defs>
<rect width="100" height="100" fill="red"/>
<!-- Doesn't draw anything, but should not taint the clip stack -->
<image x="200" y="200" width="100" height="100" clip-path="url(#clip1)"
xlink:href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>"/>
<rect width="100" height="100" fill="green"/>
</svg>
</body>
</html>