mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
Base: Add SVG test file to welcome page
This commit is contained in:
parent
943e4f8bf1
commit
2e73082203
Notes:
sideshowbarker
2024-07-19 04:36:50 +09:00
Author: https://github.com/mattco98 Commit: https://github.com/SerenityOS/serenity/commit/2e730822034 Pull-request: https://github.com/SerenityOS/serenity/pull/2861
2 changed files with 34 additions and 0 deletions
33
Base/res/html/misc/svg.html
Normal file
33
Base/res/html/misc/svg.html
Normal file
|
@ -0,0 +1,33 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head><title>SVG test</title></head>
|
||||
<body>
|
||||
<svg width="800" height="400">
|
||||
<path d="M 10 10 h 100 l -50 80 z" fill="green" stroke="black" stroke-width="3"></path>
|
||||
<path d="M 60 10 h 100 l -50 80 z" fill="red" stroke="blue" stroke-width="3"></path>
|
||||
<path d="M 135 275 v -100 a 100,100 0 0,0 -100,100 z" fill="yellow" stroke="blue" stroke-width="3"></path>
|
||||
<path d="M 150 290 v -100 a 100,100 0 1,1 -100,100 z" fill="red" stroke="blue" stroke-width="3"></path>
|
||||
|
||||
<path d="M 300,20 l 30,10
|
||||
a 10,10 20 0,1 30,10 l 30,10
|
||||
a 10,20 20 0,1 30,10 l 30,10
|
||||
a 10,30 20 0,1 30,10 l 30,10
|
||||
a 10,40 20 0,1 30,10 l 30,10"
|
||||
fill="none" stroke="red" stroke-width="5"></path>
|
||||
|
||||
<path d="M 300,160 l 30,10
|
||||
a 10,10 20 0,1 30,10 l 30,10
|
||||
a 10,20 20 0,1 30,10 l 30,10
|
||||
a 10,30 20 0,1 30,10 l 30,10
|
||||
a 10,40 20 0,1 30,10 l 30,10"
|
||||
fill="orange" stroke="red" stroke-width="5"></path>
|
||||
|
||||
<path d="M 300,300 l 30,10
|
||||
a 10,10 20 0,1 30,10 l 30,10
|
||||
a 10,20 20 0,1 30,10 l 30,10
|
||||
a 10,30 20 0,1 30,10 l 30,10
|
||||
a 10,40 20 0,1 30,10 l 30,10 z"
|
||||
fill="orange" stroke="red" stroke-width="5"></path>
|
||||
</svg>
|
||||
</body>
|
||||
</html>
|
|
@ -32,6 +32,7 @@ span#ua {
|
|||
<li><a href="margin-collapse-2.html">margin collapsing 2</a></li>
|
||||
<li><a href="margin-collapse-1.html">margin collapsing 1</a></li>
|
||||
<li><a href="position-absolute-from-edges.html">position: absolute, offset from edges</a></li>
|
||||
<li><a href="svg.html">svg element</a></li>
|
||||
<li><a href="iframe.html">iframe</a></li>
|
||||
<li><a href="many-buggies.html">many buggies</a></li>
|
||||
<li><a href="bmpsuite.html">BMP test suite</a></li>
|
||||
|
|
Loading…
Reference in a new issue