mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-08 12:56:23 +03:00
00b24a55b1
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 :^)
12 lines
325 B
HTML
12 lines
325 B
HTML
<!doctype html>
|
|
<style>
|
|
body {
|
|
background-color: white;
|
|
}
|
|
</style>
|
|
<link rel="match" href="reference/svg-axis-aligned-lines-ref.html" />
|
|
<svg width="100" height="100" viewBox="0 0 24 24" stroke="black" stroke-width="5">
|
|
<line x1="12" y1="0" x2="12" y2="24"></line>
|
|
<line x1="0" y1="12" x2="24" y2="12"></line>
|
|
</svg>
|