layout/generic/test/test_bug402380.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/generic/test/test_bug402380.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,35 @@
     1.4 +<!DOCTYPE HTML>
     1.5 +<html>
     1.6 +<!--
     1.7 +https://bugzilla.mozilla.org/show_bug.cgi?id=402380
     1.8 +-->
     1.9 +<head>
    1.10 +  <title>Test for Bug 402380</title>
    1.11 +  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>        
    1.12 +  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
    1.13 +  <style type="text/css">
    1.14 +   div::first-letter { color: green; }
    1.15 +   span:before { content: open-quote "This "; }
    1.16 +   span:after { content: close-quote; }
    1.17 +  </style>
    1.18 +</head>
    1.19 +<body style="font-family: monospace; width: 7ch; border: 1px solid orange;"
    1.20 +      onload="document.getElementById('div').style.direction = 'rtl';">
    1.21 +<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=402380">Mozilla Bug 402380</a>
    1.22 +<div id="div"><span>is text</span></div>
    1.23 +<pre id="test">
    1.24 +<script class="testbody" type="text/javascript">
    1.25 + function test()
    1.26 +{
    1.27 +/** Test for Bug 402380 **/
    1.28 +  ok(true, "Should not crash");
    1.29 +  SimpleTest.finish();
    1.30 +}
    1.31 +
    1.32 +  setTimeout(test, 500);
    1.33 +  SimpleTest.waitForExplicitFinish();
    1.34 +</script>
    1.35 +</pre>
    1.36 +</body>
    1.37 +</html>
    1.38 +

mercurial