layout/generic/test/test_bug402380.html

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     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 }
    29   setTimeout(test, 500);
    30   SimpleTest.waitForExplicitFinish();
    31 </script>
    32 </pre>
    33 </body>
    34 </html>

mercurial