summaryrefslogtreecommitdiffstats
path: root/layout/reftests/display-list/retained-dl-style-change-with-prerender-transform-1-ref.html
blob: 81682df6f6215dfc62057ed0d1cdec7f025ea0f4 (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
<!DOCTYPE html>
<html>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<style>
.wrapper {
  width: 810vw;
  transform: translateX(-50%);
  height: 90vh;
}
.slides {
  will-change: transform;
}
.button {
  background-color: green;
  position: absolute;
  left:50%;
}
</style>
<div class="wrapper">
  <div class="slides">
    <span class="button">Add to cart</span>
  </div>
</div>
</html>