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:
Sam Atkins 2022-01-24 15:42:18 +00:00 committed by Andreas Kling
parent 2664b8ae7f
commit f4ceea2a0e
Notes: sideshowbarker 2024-07-17 20:18:32 +09:00

View file

@ -33,12 +33,13 @@
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>
<g fill="orange" stroke="red" stroke-width="5">
<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"></path>
</g>
</svg>
</body>
</html>