diff options
author | Matthew Olsson <matthewcolsson@gmail.com> | 2020-07-22 16:20:25 -0700 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-07-26 14:53:43 +0200 |
commit | 2e730822034f240eaafe2b5b79b75f760c1f6278 (patch) | |
tree | 5607b80329a63e5f3c8bad8dc6d0ad5bb39b5b38 /Base/res | |
parent | 943e4f8bf176de040384523618608864fd05d645 (diff) | |
download | serenity-2e730822034f240eaafe2b5b79b75f760c1f6278.zip |
Base: Add SVG test file to welcome page
Diffstat (limited to 'Base/res')
-rw-r--r-- | Base/res/html/misc/svg.html | 33 | ||||
-rw-r--r-- | Base/res/html/misc/welcome.html | 1 |
2 files changed, 34 insertions, 0 deletions
diff --git a/Base/res/html/misc/svg.html b/Base/res/html/misc/svg.html new file mode 100644 index 0000000000..c2b9b2ba7f --- /dev/null +++ b/Base/res/html/misc/svg.html @@ -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> diff --git a/Base/res/html/misc/welcome.html b/Base/res/html/misc/welcome.html index aa651cfdb0..dc1f7371e0 100644 --- a/Base/res/html/misc/welcome.html +++ b/Base/res/html/misc/welcome.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> |