| Index: third_party/WebKit/LayoutTests/fast/css/setting-style-attribute-update-inline-style.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/css/setting-style-attribute-update-inline-style.html b/third_party/WebKit/LayoutTests/fast/css/setting-style-attribute-update-inline-style.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..dd57123e6c8d2efac4b6147f79e6b749351b268b
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/fast/css/setting-style-attribute-update-inline-style.html
|
| @@ -0,0 +1,17 @@
|
| +<script src="../../resources/testharness.js"></script>
|
| +
|
| +<div style="background-color: red">Test</div>
|
| +<div style="background-color: red">Test</div>
|
| +<div style="background-color: red">Test</div>
|
| +
|
| +<script>
|
| +var elements = document.querySelectorAll('div');
|
| +elements[0].style = '';
|
| +elements[1].style.backgroundColor = '';
|
| +elements[2].style = 'color:green';
|
| +
|
| +assert_equals(elements[0].style.backgroundColor, "");
|
| +assert_equals(elements[1].style.backgroundColor, "");
|
| +assert_equals(elements[2].style.backgroundColor, "");
|
| +assert_equals(elements[2].style.color, "green");
|
| +</script>
|
|
|