| Index: LayoutTests/fast/css/getComputedStyle/getComputedStyle-with-pseudo-element-without-renderer.html
|
| diff --git a/LayoutTests/fast/css/getComputedStyle/getComputedStyle-with-pseudo-element-without-renderer.html b/LayoutTests/fast/css/getComputedStyle/getComputedStyle-with-pseudo-element-without-renderer.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..c9546d0aa9a912cc3adcc3ef20020a3f0ca3e1d9
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/css/getComputedStyle/getComputedStyle-with-pseudo-element-without-renderer.html
|
| @@ -0,0 +1,16 @@
|
| +<!DOCTYPE html>
|
| +<script src="../../../resources/testharness.js"></script>
|
| +<script src="../../../resources/testharnessreport.js"></script>
|
| +
|
| +<style>
|
| +#element:after { display: none; color: green; }
|
| +</style>
|
| +<div id="element"></div>
|
| +
|
| +<script>
|
| +test(function() {
|
| + var computedStyle = getComputedStyle(document.getElementById('element'), ":after");
|
| + assert_equals(computedStyle.color, 'rgb(0, 128, 0)');
|
| + assert_equals(computedStyle.display, 'none');
|
| +}, 'getComputedStyle works on pseudo-element without renderer');
|
| +</script>
|
|
|