| Index: LayoutTests/fast/css/webkit-text-display-none.html
|
| diff --git a/LayoutTests/fast/css/webkit-text-display-none.html b/LayoutTests/fast/css/webkit-text-display-none.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..cd28013c9beafd7802963b7b01d61db4ad5e4c01
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/css/webkit-text-display-none.html
|
| @@ -0,0 +1,20 @@
|
| +<!DOCTYPE html>
|
| +<html>
|
| +<head>
|
| +<script src="../../resources/js-test.js"></script>
|
| +</head>
|
| +<body style="display:none">
|
| +<script type="text/javascript">
|
| +description("This test checks that setting display to none on the body element does not change -webkit-text.");
|
| +
|
| +document.body.style.color = "green";
|
| +
|
| +var d = document.createElement("div");
|
| +d.style.color = "-webkit-text";
|
| +document.documentElement.appendChild(d);
|
| +
|
| +shouldBe("getComputedStyle(d).getPropertyValue('color')", "'rgb(0, 128, 0)'");
|
| +document.body.style.display = "block";
|
| +</script>
|
| +</body>
|
| +</html>
|
|
|