Files
ladybird/Tests/LibWeb/Screenshot/input/svg-rotation-anti-aliasing.html
Jelle Raaijmakers 489dea58ba LibWeb: Make all clip rects anti-aliased
This fixes aliased edges when e.g. applying rotation transforms to
certain shapes or SVGs. Although the clip rects themselves are
rectangular, a non-identity matrix transform can be active for the
canvas.

Fixes #5909.
2025-11-12 17:43:02 +01:00

12 lines
329 B
HTML

<!DOCTYPE html>
<link rel="match" href="../expected/svg-rotation-anti-aliasing-ref.html" />
<meta name="fuzzy" content="maxDifference=0-0;totalPixels=0-0">
<style>
svg {
rotate: 22.5deg;
}
</style>
<svg viewbox="0,0,100,100" width="100" height="100">
<rect x="0" y="0" width="100" height="100" fill="blue"></rect>
</svg>