18 lines
766 B
HTML
18 lines
766 B
HTML
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<body>
|
|
<div>
|
|
<!-- All values should be identical to svgsvgelement-ctm.xhtml, except the screenCTM e/f values, our values should be 2px smaller here (108 instead of 110 etc..) -->
|
|
<!-- svgsvgelement-ctm.xhtml assigns a top/left position of 10px, and here 8px offset is automatically assigned from the parent <body> -->
|
|
<svg xmlns="http://www.w3.org/2000/svg" id="svg1" width="400" height="400">
|
|
<svg id="svg2" x="50" y="50">
|
|
<g id="group" transform="translate(10, 10)">
|
|
<svg id="svg3" x="-100" y="-100" viewBox="5 5 20 20"></svg>
|
|
</g>
|
|
</svg>
|
|
</svg>
|
|
</div>
|
|
<div id="log"></div>
|
|
<script src="resources/svgsvgelement-ctm.js"></script>
|
|
</body>
|
|
</html>
|