mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 11:57:35 +00:00
Base: Modify SVG test page to include inherited attributes
Some SVG attributes can be inherited, similarly to CSS properties. This change moves some attributes from a `<path>` to a parent `<g>` to test this works.
This commit is contained in:
parent
2664b8ae7f
commit
f4ceea2a0e
1 changed files with 7 additions and 6 deletions
|
@ -33,12 +33,13 @@
|
||||||
a 10,40 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>
|
fill="orange" stroke="red" stroke-width="5"></path>
|
||||||
|
|
||||||
|
<g fill="orange" stroke="red" stroke-width="5">
|
||||||
<path d="M 300,300 l 30,10
|
<path d="M 300,300 l 30,10
|
||||||
a 10,10 20 0,1 30,10 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,20 20 0,1 30,10 l 30,10
|
||||||
a 10,30 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"
|
a 10,40 20 0,1 30,10 l 30,10 z"></path>
|
||||||
fill="orange" stroke="red" stroke-width="5"></path>
|
</g>
|
||||||
</svg>
|
</svg>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue