|
1 <!DOCTYPE HTML> |
|
2 <html> |
|
3 <!-- |
|
4 https://bugzilla.mozilla.org/show_bug.cgi?id=394239 |
|
5 --> |
|
6 <head> |
|
7 <title>Test for Bug 394239</title> |
|
8 <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script> |
|
9 <script type="text/javascript" src="/tests/SimpleTest/EventUtils.js"></script> |
|
10 <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" /> |
|
11 <style> |
|
12 #a::after { content:"anonymous text"; } |
|
13 </style> |
|
14 </head> |
|
15 <body> |
|
16 <div id="content"> |
|
17 <object id="a" style="position: relative;"> |
|
18 <div style="position: absolute;"> |
|
19 <input> |
|
20 </div>ع |
|
21 <div style="position: absolute;"> |
|
22 <span style="position: fixed;">t</span> |
|
23 </div> |
|
24 </object> |
|
25 </div> |
|
26 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=394239">Mozilla Bug 394239</a> |
|
27 <pre id="test"> |
|
28 <script class="testbody" type="text/javascript"> |
|
29 |
|
30 SimpleTest.expectAssertions(1); |
|
31 |
|
32 /** Test for Bug 394239 **/ |
|
33 function test() |
|
34 { |
|
35 $("a").style.direction="rtl"; |
|
36 ok(true, "Should not crash"); |
|
37 SimpleTest.finish(); |
|
38 } |
|
39 setTimeout(test, 500); |
|
40 SimpleTest.waitForExplicitFinish(); |
|
41 </script> |
|
42 </pre> |
|
43 </body> |
|
44 </html> |
|
45 |