no bug - Import translations from android-l10n r=release a=l10n CLOSED TREE
[gecko.git] / layout / reftests / native-theme / checkbox-dynamic-1.html
blob582c6cc1c3d505e07b6375be6552fe865febeca5
1 <!DOCTYPE html>
2 <html class="reftest-wait">
3 <head>
4 <style>
5 #checkbox {
6 position: absolute;
7 left: 0px;
8 top: 0px;
9 background: linear-gradient(to right, white, brown);
11 #toremove {
12 position: absolute;
13 left: 0px;
14 top: 0px;
15 width: 100px;
16 height: 0px;
17 background: black;
19 </style>
20 </head>
21 <body>
22 <div id="checkbox">
23 <input type="checkbox">
24 </div>
25 <div id="toremove">
26 </div>
27 </body>
28 <script type="text/javascript">
29 var checkBox = document.getElementById("checkbox");
30 var toRemove = document.getElementById("toremove");
31 toRemove.style.height = checkBox.offsetHeight / 2 + 0.2 + "px";
32 function boom()
34 toRemove.remove();
35 document.documentElement.className = "";
37 window.addEventListener("MozReftestInvalidate", boom);
38 </script>
39 </html>