no bug - Import translations from android-l10n r=release a=l10n CLOSED TREE
[gecko.git] / layout / reftests / bugs / 1018522-1.html
blobf918afa93ff31ad10c2ade3d3d1bac06ab7d9d01
1 <!DOCTYPE html>
2 <html class="reftest-wait">
3 <title>Test that opacity changes on layers make the Compositor repaint the right area</title>
5 <style>
7 #box {
8 width: 100px;
9 height: 100px;
10 border: 10px solid black;
11 opacity: 1;
12 will-change: opacity;
15 #box.halfTransparent {
16 opacity: 0.5;
19 </style>
21 <div id="box"></div>
23 <script>
25 window.addEventListener("MozReftestInvalidate", function (e) {
26 document.getElementById("box").className = "halfTransparent";
27 document.documentElement.removeAttribute("class");
28 });
30 </script>