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

Unified Diff: sky/tests/lowlevel/bug-438036.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/layout/document-elementFromPoint.sky ('k') | sky/tests/lowlevel/classlist.sky » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/tests/lowlevel/bug-438036.sky
diff --git a/sky/tests/lowlevel/bug-438036.sky b/sky/tests/lowlevel/bug-438036.sky
index a92954aa8c13c427fbb1afa6d75dde04d240ad69..53f57514687a886ff9f417f5dee74f30aa68a208 100644
--- a/sky/tests/lowlevel/bug-438036.sky
+++ b/sky/tests/lowlevel/bug-438036.sky
@@ -19,7 +19,7 @@ void main() {
var target = document.querySelector('div');
target.classList.add("wide");
- expect(window.getComputedStyle(target).getPropertyValue("width"),
+ expect(window.getComputedStyle(target)["width"],
equals("200px"));
});
@@ -27,7 +27,7 @@ void main() {
var target = document.querySelectorAll('div')[1];
target.setAttribute("id", "high");
- expect(window.getComputedStyle(target).getPropertyValue("height"),
+ expect(window.getComputedStyle(target)["height"],
equals("200px"));
});
}
« no previous file with comments | « sky/tests/layout/document-elementFromPoint.sky ('k') | sky/tests/lowlevel/classlist.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698