content/base/test/test_bug562169-2.html

branch
TOR_BUG_9701
changeset 15
b8a032363ba2
equal deleted inserted replaced
-1:000000000000 0:ea803c240b58
1 <!DOCTYPE HTML>
2 <html>
3 <!--
4 https://bugzilla.mozilla.org/show_bug.cgi?id=562169
5 -->
6 <head>
7 <meta charset="utf-8">
8 <title>Test for Bug 562169</title>
9 <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
10 <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
11 </head>
12 <body>
13 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=562169">Mozilla Bug 562169</a>
14 <p id="display"></p>
15 <div id="content" style="display: none">
16 </div>
17 <pre id="test">
18 <script type="application/javascript">
19
20 /** Test for Bug 562169 **/
21 /** Test that a newly created element has ltr directionality **/
22
23 ok(document.createElement("div").mozMatchesSelector(":-moz-dir(ltr)"),
24 "Element should be ltr on creation");
25
26 </script>
27 </pre>
28 </body>
29 </html>

mercurial