| Index: third_party/WebKit/LayoutTests/fast/dom/CSSStyleDeclaration/css-computed-style-item.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/dom/CSSStyleDeclaration/css-computed-style-item.html b/third_party/WebKit/LayoutTests/fast/dom/CSSStyleDeclaration/css-computed-style-item.html
|
| index 59ed56d3beaa786ac993c1d5171417373e4069ca..c557ac82775e52d8e32d80a99545ae5d6ed0dc03 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/dom/CSSStyleDeclaration/css-computed-style-item.html
|
| +++ b/third_party/WebKit/LayoutTests/fast/dom/CSSStyleDeclaration/css-computed-style-item.html
|
| @@ -4,6 +4,19 @@
|
| <script src="../../../resources/js-test.js"></script>
|
| </head>
|
| <body>
|
| -<script src="script-tests/css-computed-style-item.js"></script>
|
| +<script>
|
| +description("This tests indexing outside the range of the computed style object.");
|
| +
|
| +var element = document.createElement('div');
|
| +element.style.color = 'rgb(120, 120, 120)';
|
| +document.documentElement.appendChild(element);
|
| +var computedStyle = window.getComputedStyle(element, null);
|
| +
|
| +shouldBeEqualToString('typeof computedStyle.length', 'number');
|
| +shouldBeUndefined('computedStyle[computedStyle.length]', '');
|
| +shouldBeUndefined('computedStyle[-1]')
|
| +
|
| +document.documentElement.removeChild(element);
|
| +</script>
|
| </body>
|
| </html>
|
|
|