4 https://bugzilla.mozilla.org/show_bug.cgi?id=382027
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" />
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"
21 <script class=
"testbody" type=
"text/javascript">
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;");