no bug - Import translations from android-l10n r=release a=l10n CLOSED TREE
[gecko.git] / layout / reftests / bugs / 1121748-1.html
blob85c81a5636c51cb1ad2ce8b39472218091bb220d
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>Bug 1121748-1</title>
5 <meta charset=utf-8>
6 <style>
7 html { width: 25%; }
8 ul {
9 margin: 0;
10 padding: 0;
11 border: 1px solid green;
13 ul li {
14 position: relative;
15 margin: 2px 10px;
16 background: #eee;
17 display: block;
19 ul li[hidden] {
20 display: none;
22 </style>
23 <script>
24 function test() {
25 document.body.dir = 'rtl';
26 document.querySelector('#test').offsetHeight;
27 document.querySelector('#test').hidden = false;
29 </script>
30 </head>
31 <body onload="test()">
32 <ul>
33 <li id="test" hidden> item #1 </li>
34 <li> item #2 </li>
35 <li> item #3 </li>
36 </ul>
37 </body>
38 </html>