3 <script src=
"../../resources/js-test.js"></script>
5 <body style=
"display:none">
6 <script type=
"text/javascript">
7 description("This test checks that setting display to none on the body element does not change -webkit-text.");
9 document
.body
.style
.color
= "green";
11 var d
= document
.createElement("div");
12 d
.style
.color
= "-webkit-text";
13 document
.documentElement
.appendChild(d
);
15 shouldBe("getComputedStyle(d).getPropertyValue('color')", "'rgb(0, 128, 0)'");
16 document
.body
.style
.display
= "block";