ladybird/Tests/LibWeb/Ref/reference/svg-axis-aligned-lines-ref.html
MacDue 00b24a55b1 LibWeb: Fix drawing axis-aligned lines
Previously, these were clipped by the RecordingPainter, which used the
path's bounding box (which in this case is zero width or height). The
fix is to expand the bounding box by the stroke width.

Fixes #22661

Note: This is unrelated to any recent LibGfx changes :^)
2024-01-09 00:03:09 +01:00

9 lines
128 B
HTML

<style>
* {
margin: 0;
}
body {
background-color: white;
}
</style>
<img src="./images/svg-axis-aligned-lines-ref.png">