summaryrefslogtreecommitdiffstats
path: root/layout/reftests/transform/partial-prerender-translate-10-ref.html
blob: c85aa228350ed27a3a9e6753c6b80e10ffc02098 (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
26
27
<!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 {
  width: 1600px;
  height: 1000px;
  position: absolute;
  left: -200px;
  transform: translateX(0px);
}
</style>
<div id="target">
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1600 1000">
    <rect fill="green" x="0"      width="800" height="1000"></rect>
    <rect fill="blue"  x="800"    width="362.5" height="1000"></rect>
    <rect fill="red"   x="1162.5" width="837.5" height="1000"></rect>
  </svg>
</div>
</html>