| Index: LayoutTests/fast/css3-text/css3-text-decoration/stable/getComputedStyle-text-decoration.html
|
| diff --git a/LayoutTests/fast/css3-text/css3-text-decoration/stable/getComputedStyle-text-decoration.html b/LayoutTests/fast/css3-text/css3-text-decoration/stable/getComputedStyle-text-decoration.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..741f0b96e176d0944366fddcc2b595465aaf2c0f
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/css3-text/css3-text-decoration/stable/getComputedStyle-text-decoration.html
|
| @@ -0,0 +1,13 @@
|
| +<!DOCTYPE html>
|
| +<script src="../../../../resources/js-test.js"></script>
|
| +<div id="target" style="text-decoration: underline;">This text should be underlined</div>
|
| +<script>
|
| +description("Test that computed style for text-decoration is correctly represented.");
|
| +
|
| +var decoration = getComputedStyle(target).textDecoration;
|
| +
|
| +if (window.internals && internals.runtimeFlags.css3TextDecorationsEnabled)
|
| + shouldBe("decoration", "'underline solid rgb(0, 0, 0)'");
|
| +else
|
| + shouldBe("decoration", "'underline'");
|
| +</script>
|
|
|