Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / css3 / blending / isolation-parsing.html
blob4e85ccf18b9877b28387058e63ba1dfbb7523837
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <script src="../../resources/js-test.js"></script>
5 <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);
14 return computedValue;
17 function test(value, expected) {
18 shouldBeEqualToString('setProperty("' + value + '")', expected);
21 test("auto", "auto");
22 test("isolate", "isolate");
23 test("", "auto");
24 test("rubbish", "auto");
25 </script>
26 </body>
27 </html>