Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / webkit-text-display-none.html
blob3b2314665dc888a0a60deba40fd4700776b7411b
1 <html>
2 <head>
3 <script src="../../resources/js-test.js"></script>
4 </head>
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";
17 </script>
18 </body>
19 </html>