Source code

Revision control

Copy as Markdown

Other Tools

SVG Preview (Scaled)

Preview of https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/svg/tests/file_filter_crossorigin.svg
<!--
Any copyright is dedicated to the Public Domain.
-->
<svg xmlns="http://www.w3.org/2000/svg" version="1.1"
<!-- We include these <use> elements simply to be sure the SVG resource URLs
get a chance to block 'onload', if they can be loaded. -->
<!-- giant yellow rect in the background, just so you can visually tell
that this SVG file has loaded/rendered. -->
<rect height="100%" width="100%" fill="yellow" />
<!-- For both rects below: if it's black, its filter resolved successfully.
If it's yellow, it means we failed to load the resource
(e.g. because it was blocked as a cross-origin resource). -->
<rect height="50px" width="100px" fill="yellow"
<rect y="50px"
height="50px" width="100px" fill="yellow"
</svg>