summaryrefslogtreecommitdiffstats
path: root/layout/reftests/transform/transform-box-svg-2b.svg
blob: 8b14744820fd85756216c47019137555fbdf2b63 (plain)
1
2
3
4
5
6
7
8
9
10
11
<svg xmlns='http://www.w3.org/2000/svg'>
<g transform="translate(30,30)">
  <!-- transform-origin specifies a point relative to the top left of the
       element's fill bbox when transform-box is set to 'fill-box', with
       percentage values resolved against the size of the fill bbox.
  -->
  <rect x='10' y='10' width='100' height='100' fill='blue' stroke-width='20' stroke='black'
        style="transform:rotate(90deg); transform-origin:0px calc(110% - 10px);
               transform-box:fill-box;"/>
</g>
</svg>