Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(604)

Unified Diff: sky/tests/styles/inline-style.sky

Issue 942553002: Make element.style["color"] work in Sky (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Add back removeProperty Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/tests/styles/border-parsing.sky ('k') | sky/tests/styles/media-queries.sky » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « sky/tests/styles/border-parsing.sky ('k') | sky/tests/styles/media-queries.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698