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

Unified Diff: sky/tests/lowlevel/style-basic.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/classlist.sky ('k') | sky/tests/lowlevel/style-specificity.sky » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/tests/lowlevel/style-basic.sky
diff --git a/sky/tests/lowlevel/style-basic.sky b/sky/tests/lowlevel/style-basic.sky
index fdf6b9316892c93b8fd3a1115b0294d17a25b376..9c08c714d924475ad886a62c1ec9b5c4b505864b 100644
--- a/sky/tests/lowlevel/style-basic.sky
+++ b/sky/tests/lowlevel/style-basic.sky
@@ -27,7 +27,7 @@
var log = document.getElementById("log");
var i = 1;
for (Element element = tests.firstElementChild; element != null; element = element.nextElementSibling) {
- var order = int.parse(window.getComputedStyle(element).getPropertyValue("order"));
+ var order = int.parse(window.getComputedStyle(element)["order"]);
var div = document.createElement("div");
var text = (order == i) ? "PASS" : "FAIL";
text += ": <"
« no previous file with comments | « sky/tests/lowlevel/classlist.sky ('k') | sky/tests/lowlevel/style-specificity.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698