summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/1483649-1.xhtml
blob: 2d4542db6f7ef220e9a7d5e050a6efa719d93af7 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<?xml version="1.0"?>
<!DOCTYPE window>

<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">

<style type="text/css" xmlns="http://www.w3.org/1999/xhtml"><![CDATA[
#container {
  position: relative;
  left: 500px;
  display: inline;
}

#first {
  position: relative;
  top: 0px;
  left: 0px;
  width: 100px;
  height: 100px;
  transform: scaleX(-1);
  background: red;
}

#second {
  position: relative;
  top: 50px;
  left: -100px;
  width: 100px;
  height: 100px;
  overflow: hidden;
}

@keyframes transform-animation {
  from {
    transform: scaleX(-1);
  }
  to {
    transform: scaleX(-1);
  }
}

#transformed {
  width: 50px;
  height: 50px;
  animation-name: transform-animation;
  animation-fill-mode: forwards;
}

]]></style>

<box id="container">
  <box id="first"></box>
  <box id="second">
    <image id="transformed"/>
  </box>
</box>
</window>