1 description("This tests checks that all of the input values for -webkit-color-correction parse correctly.");
5 var div = document.createElement("div");
6 div.setAttribute("style", value);
7 document.body.appendChild(div);
9 var result = div.style.getPropertyValue("-webkit-color-correction");
10 document.body.removeChild(div);
14 shouldBe('test("-webkit-color-correction: default;")', '"default"');
15 shouldBe('test("-webkit-color-correction: sRGB;")', '"srgb"');
16 shouldBe('test("-webkit-color-correction: srgb;")', '"srgb"');
18 shouldBe('test("-webkit-color-correction: apple;")', 'null');
19 shouldBe('test("-webkit-color-correction: 15;")', 'null');
20 shouldBe('test("-webkit-color-correction: auto;")', 'null');