mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-28 02:27:19 +02:00
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.
12 lines
329 B
HTML
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>
|