blob: c10be0f173ef6638461a7475fefb9ee5f61ac578 [file] [log] [blame]
<!DOCTYPE html>
<title>CSS Filters: feImage and CSS reference filters.</title>
<link rel="help" href="https://drafts.fxtf.org/filter-effects-1/#feImageElement">
<link rel="help" href="https://drafts.fxtf.org/filter-effects-1/#FilterProperty">
<link rel="match" href="reference/effect-reference-feimage-002-ref.html">
<meta name="assert" content="This test ensures that CSS reference filters with 'will-change: transform' supports feImage."/>
<style>
#filtered {
width: 160px;
height: 90px;
filter: url(#imagereplace);
will-change: transform;
}
</style>
<div id="filtered"></div>
<svg width="0" height="0">
<filter id="imagereplace" color-interpolation-filters="sRGB" x="0%" y="0%" width="100%" height="100%">
<feimage xlink:href="support/color-palette.png"/>
</filter>
</svg>