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

Unified Diff: sky/tests/lowlevel/bug-438036.sky

Issue 924203002: Morph the APIs for Node, ParentNode, and Element closer to the specs (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: 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
Index: sky/tests/lowlevel/bug-438036.sky
diff --git a/sky/tests/lowlevel/bug-438036.sky b/sky/tests/lowlevel/bug-438036.sky
index 35f7815ea8d252469405f5eab3ceea31a41169f6..d18c7dd0d577ae1e5a40a4464958ef7f383ab658 100644
--- a/sky/tests/lowlevel/bug-438036.sky
+++ b/sky/tests/lowlevel/bug-438036.sky
@@ -26,7 +26,7 @@ void main() {
test("should grow height to 200px", () {
var target = document.querySelectorAll('div').item(1);
- target.id = 'high';
+ target.setAttribute("id", "high");
expect(window.getComputedStyle(target).getPropertyValue("height"),
equals("200px"));
});

Powered by Google App Engine
This is Rietveld 408576698