Index: sky/tests/styles/inline-style.sky |
diff --git a/sky/tests/styles/inline-style.sky b/sky/tests/styles/inline-style.sky |
index fb1a5d1b3ed44d424bea301aa2572bdff44c9cb2..65091ba5b3b5756e3d1b3db549c4188b2134f3c3 100644 |
--- a/sky/tests/styles/inline-style.sky |
+++ b/sky/tests/styles/inline-style.sky |
@@ -15,9 +15,8 @@ void main() { |
expect(foo.getAttribute('style'), equals('color: red')); |
- expect(foo.style.getPropertyValue("color"), equals('rgb(255, 0, 0)')); |
- expect(window.getComputedStyle(foo).getPropertyValue("color"), |
- equals('rgb(255, 0, 0)')); |
+ expect(foo.style["color"], equals('rgb(255, 0, 0)')); |
+ expect(window.getComputedStyle(foo)["color"], equals('rgb(255, 0, 0)')); |
}); |
} |
</script> |