summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/svg-transform-02.svg
blob: 53f6718c9388121bafa40d4e803b4b9d9dd4f74e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!--
     Any copyright is dedicated to the Public Domain.
     http://creativecommons.org/publicdomain/zero/1.0/
-->
<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%">
  <!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=863994 -->

  <rect width="100%" height="100%" fill="lime"/>

  <svg width="640" height="480" xmlns="http://www.w3.org/2000/svg" x="100" y="100" viewBox="0 0 640 480">
    <rect width="100%" height="100%" fill="red"/>
  </svg>
  <svg width="640" height="480" xmlns="http://www.w3.org/2000/svg" x="100" y="100" viewBox="0 0 640 480" transform="translate(0, 0)">
    <rect width="100%" height="100%" fill="lime"/>
  </svg>
</svg>