Bug 458861. Validate TrueType headers before activating downloaded font. r=roc, sr...
[wine-gecko.git] / layout / style / test / test_bug382027.html
blobdb6e2c4a2749e3d46222dc19ddd57e1aa851e72a
1 <!DOCTYPE HTML>
2 <html>
3 <!--
4 https://bugzilla.mozilla.org/show_bug.cgi?id=382027
5 -->
6 <head>
7 <title>Test for Bug 382027</title>
8 <script type="text/javascript" src="/MochiKit/MochiKit.js"></script>
9 <script type="text/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=382027">Mozilla Bug 382027</a>
14 <div id="content" style="display: none;"
15 ><div style="border-style: groove none none;"
16 ><div style="border-style: none none double"
17 ></div
18 ></div
19 ></div>
20 <pre id="test">
21 <script class="testbody" type="text/javascript">
23 /*
24 * Test that the regression in the original patch checked in by bug
25 * 382027 is caught by something other than an unexpected pass.
28 var e = document.createElement("div");
29 e.style.setProperty("border-style", "groove none none none", "");
30 is(e.getAttribute("style"), "border-style: groove none none;");
31 e.style.setProperty("border-style", "none none double none", "");
32 is(e.getAttribute("style"), "border-style: none none double;");
34 </script>
35 </pre>
36 </body>
37 </html>