8 border:
1px solid black;
24 outline:
4px solid red;
31 background-color: red !important;
34 background-color: green !important;
37 transform: translateZ(
1px);
41 background-color: green;
45 background-color: red;
49 if (window
.testRunner
)
50 testRunner
.dumpAsTextWithPixelResults();
54 <!-- Tests visibility with directly composited images. -->
55 <!-- Left and right sides should look the same -->
57 <div class=
"container"><img src=
"../resources/thiswayup.png" class=
"hidden box"></div>
58 <div class=
"hidden container"><img src=
"../resources/thiswayup.png" class=
"box"></div>
59 <div class=
"hidden container"><img src=
"../resources/thiswayup.png" class=
"visible box"></div>
63 <div class=
"composited container"><img src=
"../resources/thiswayup.png" class=
"hidden composited box"></div>
64 <div class=
"composited hidden container"><img src=
"../resources/thiswayup.png" class=
"composited box"></div>
65 <div class=
"composited hidden container"><img src=
"../resources/thiswayup.png" class=
"visible composited box"></div>