test_bug402380.html (1047B)
1 <!DOCTYPE HTML> 2 <html> 3 <!-- 4 https://bugzilla.mozilla.org/show_bug.cgi?id=402380 5 --> 6 <head> 7 <title>Test for Bug 402380</title> 8 <script src="/tests/SimpleTest/SimpleTest.js"></script> 9 <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" /> 10 <style type="text/css"> 11 div::first-letter { color: green; } 12 span:before { content: open-quote "This "; } 13 span:after { content: close-quote; } 14 </style> 15 </head> 16 <body style="font-family: monospace; width: 7ch; border: 1px solid orange;" 17 onload="document.getElementById('div').style.direction = 'rtl';"> 18 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=402380">Mozilla Bug 402380</a> 19 <div id="div"><span>is text</span></div> 20 <pre id="test"> 21 <script class="testbody" type="text/javascript"> 22 function test() 23 { 24 /** Test for Bug 402380 */ 25 ok(true, "Should not crash"); 26 SimpleTest.finish(); 27 } 28 29 SimpleTest.requestFlakyTimeout("untriaged"); 30 setTimeout(test, 500); 31 SimpleTest.waitForExplicitFinish(); 32 </script> 33 </pre> 34 </body> 35 </html>