summaryrefslogtreecommitdiffstats
path: root/layout/reftests/transform/partial-prerender-in-svg-3-ref.html
blob: 2de1ee211caeb336b3896175eb3a0b46637a5c73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<!DOCTYPE html>
<html>
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1">
<style>
html {
  overflow: hidden;
}
body {
  margin: 0px;
  padding: 0px;
}
#target {
  transform: translateX(-325px);
}
</style>
<svg xmlns="http://www.w3.org/2000/svg" width="400" height="400"
     style="overflow: visible">
  <g id="target">
    <svg xmlns="http://www.w3.org/2000/svg" width="10000">
      <rect fill="green" x="0"    width="1125" height="400"></rect>
      <rect fill="red"   x="1125" width="800"  height="400"></rect>
    </svg>
  </g>
</svg>
</html>