<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg">
<defs>
<filter id="tileFilter">
<!-- Tiles the SourceGraphic -->
<feTile in="SourceGraphic" />
</filter>
</defs>
<rect
x="20"
y="20"
width="100"
height="100"
fill="hotpink"
filter="url(#tileFilter)" />
</svg>SVGFETileElement: in1 property / notebook
SVGFETileElement: in1 property
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.
// Select the feTile element
const tileElement = document.querySelector("feTile");
// Access the in1 property
console.log(tileElement.in1.baseVal); // Output: "SourceGraphic"