summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/transforms/transform-svg.html
blob: 1265af6f639dcdb882abaa81c2d7da75a36bd45f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<style>
    body { 
        padding: 0px; 
        margin: 0px;
    }

    #svgRoot {
        padding: 0px;
        margin: 0px;
        transform: translate(50%, 50%);
   }
</style>
</head>

<body>
    <!--This test verifies that transformed SVG elements are positioned properly.-->
    <svg id="svgRoot" width="400px" height="400px" viewBox="0 0 400 400" xmlns="http://www.w3.org/2000/svg">
        <circle id="circle" cx="100" cy="100" r="10"/>
    </svg>
</body>
</html>