4 <script src=
"../../resources/js-test.js"></script>
6 function setProperty(value
) {
7 var div
= document
.createElement('div');
8 document
.body
.appendChild(div
);
9 div
.style
.setProperty("isolation", value
);
11 var computedValue
= getComputedStyle(div
).getPropertyValue("isolation");
12 document
.body
.removeChild(div
);
17 function test(value
, expected
) {
18 shouldBeEqualToString('setProperty("' + value
+ '")', expected
);
22 test("isolate", "isolate");
24 test("rubbish", "auto");