layout/generic/test/test_bug402380.html

branch
TOR_BUG_3246
changeset 6
8bccb770b82d
equal deleted inserted replaced
-1:000000000000 0:461915ef6acb
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 type="text/javascript" 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 setTimeout(test, 500);
30 SimpleTest.waitForExplicitFinish();
31 </script>
32 </pre>
33 </body>
34 </html>
35

mercurial