diff options
author | Sam Atkins <atkinssj@serenityos.org> | 2022-02-11 16:56:36 +0000 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-02-11 21:38:27 +0100 |
commit | 17912330c40a6e67869366c9d7ba604348fc860f (patch) | |
tree | 614f45073b89bc1096a9dd1bd8c4545d851ee2c4 /Base/res/html/misc | |
parent | 3a1a35ef8f867ac16bfe10e2a687e5fdfa4aa4c4 (diff) | |
download | serenity-17912330c40a6e67869366c9d7ba604348fc860f.zip |
LibWeb: Add SVG `<line>` element and test case :^)
Diffstat (limited to 'Base/res/html/misc')
-rw-r--r-- | Base/res/html/misc/svg.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Base/res/html/misc/svg.html b/Base/res/html/misc/svg.html index e49d24d56a..0b23741b9e 100644 --- a/Base/res/html/misc/svg.html +++ b/Base/res/html/misc/svg.html @@ -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> |