summaryrefslogtreecommitdiffstats
path: root/layout/reftests/display-list/retained-dl-animation-on-pseudo-ref.html
blob: 2b00ab20bd11e5aed8deb1d22d1be996f43ff7b3 (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
28
<html>
<head>
<style>
body {
  margin: 0px;
}
#child {
  width:100px;
  height:100px;
  background-color: green;
  display: inline-block;
}

#parent::before {
  content: '';
  width: 100px;
  height: 100px;
  display: inline-block;
  background-color: blue;
}
</style>
</head>
<body>
  <div id="parent">
    <div id="child"></div>
  </div>
</body>
</html>