ladybird/Tests/LibWeb/Screenshot/svg-clip-path-and-mask.html
Aliaksandr Kalenik 715f033007 Tests+headless-browser: Move screenshot ref-tests into own directory
This change will make it easier to disable screenshot comparison tests
on a specific platform or have per-platform expectations.

Additionally, it's nice to be able to tell if a ref-test uses a
screenshot as an expectation by looking at the test path.
2024-07-19 13:52:00 +02:00

22 lines
494 B
HTML

<link rel="match" href="reference/svg-clip-path-and-mask-ref.html" />
<style>
body {
background-color: white;
}
</style>
<svg height="200" viewBox="0 0 100 100">
<mask id="mask">
<circle cx="60" cy="35" r="35" fill="white"/>
</mask>
<clipPath id="clip">
<circle cx="40" cy="35" r="35" />
</clipPath>
<path
id="heart"
d="M10,30 A20,20,0,0,1,50,30 A20,20,0,0,1,90,30 Q90,60,50,90 Q10,60,10,30 Z" />
<use clip-path="url(#clip)" mask="url(#mask)" href="#heart" fill="red" />
</svg>