4 https://bugzilla.mozilla.org/show_bug.cgi?id=382027
7 <title>Test for Bug
382027</title>
8 <script src=
"/tests/SimpleTest/SimpleTest.js"></script>
9 <link rel=
"stylesheet" type=
"text/css" href=
"/tests/SimpleTest/test.css" />
12 <a target=
"_blank" href=
"https://bugzilla.mozilla.org/show_bug.cgi?id=382027">Mozilla Bug
382027</a>
13 <div id=
"content" style=
"display: none;"
14 ><div style=
"border-style: groove none none;"
15 ><div style=
"border-style: none none double"
20 <script class=
"testbody" type=
"text/javascript">
23 * Test that the regression in the original patch checked in by bug
24 *
382027 is caught by something other than an unexpected pass.
27 var e = document.createElement(
"div");
28 e.style.setProperty(
"border-style",
"groove none none none",
"");
29 is(e.getAttribute(
"style"),
"border-style: groove none none;");
30 e.style.setProperty(
"border-style",
"none none double none",
"");
31 is(e.getAttribute(
"style"),
"border-style: none none double;");