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

Unified Diff: sky/tests/styles/border-parsing.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/lowlevel/style-specificity.sky ('k') | sky/tests/styles/inline-style.sky » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/tests/styles/border-parsing.sky
diff --git a/sky/tests/styles/border-parsing.sky b/sky/tests/styles/border-parsing.sky
index 8f00996bbef3816fc8b16ddd7680e41411592f86..79bf1bb31a44e6a21037357d85612dc404c78799 100644
--- a/sky/tests/styles/border-parsing.sky
+++ b/sky/tests/styles/border-parsing.sky
@@ -12,7 +12,7 @@ void main() {
test('should render', () {
var foo = document.querySelector('foo');
foo.setAttribute('style', 'border: 1px solid red');
- expect(foo.style.getPropertyValue("border"), equals('1px solid rgb(255, 0, 0)'));
+ expect(foo.style["border"], equals('1px solid rgb(255, 0, 0)'));
});
}
</script>
« no previous file with comments | « sky/tests/lowlevel/style-specificity.sky ('k') | sky/tests/styles/inline-style.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698