mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:37:35 +00:00
LibWeb: Add SVG <line>
element and test case :^)
This commit is contained in:
parent
3a1a35ef8f
commit
17912330c4
11 changed files with 126 additions and 0 deletions
|
@ -56,6 +56,15 @@
|
|||
<g transform="translate(400 550) rotate(-30)">
|
||||
<ellipse rx="50" ry="20" fill="none" stroke="blue" stroke-width="4" />
|
||||
</g>
|
||||
|
||||
<!-- Based on https://svgwg.org/svg2-draft/shapes.html#LineElement -->
|
||||
<g stroke="green">
|
||||
<line x1="10" y1="700" x2="110" y2="600" stroke-width="5" />
|
||||
<line x1="120" y1="700" x2="220" y2="600" stroke-width="10" />
|
||||
<line x1="230" y1="700" x2="330" y2="600" stroke-width="15" />
|
||||
<line x1="340" y1="700" x2="440" y2="600" stroke-width="20" />
|
||||
<line x1="450" y1="700" x2="550" y2="600" stroke-width="25" />
|
||||
</g>
|
||||
</svg>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue