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

Unified Diff: LayoutTests/fast/images/style-access-during-imageChanged-style-freeze.html

Issue 130193003: Make the second argument to Element.setAttribute non-optional (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 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: LayoutTests/fast/images/style-access-during-imageChanged-style-freeze.html
diff --git a/LayoutTests/fast/images/style-access-during-imageChanged-style-freeze.html b/LayoutTests/fast/images/style-access-during-imageChanged-style-freeze.html
index f2c544a14137ee8f98386c0a249012e2b78c4dc0..ab0c91563e8a7aee33e58f12455bd6d4cb550cff 100644
--- a/LayoutTests/fast/images/style-access-during-imageChanged-style-freeze.html
+++ b/LayoutTests/fast/images/style-access-during-imageChanged-style-freeze.html
@@ -22,7 +22,7 @@
container.style.removeProperty("display");
document.body.offsetTop;
var target = document.getElementById("target");
- target.setAttribute("foo");
+ target.setAttribute("foo", "");
document.body.offsetTop;
var result = document.getElementById("result");
result.innerText = getComputedStyle(target).color === "rgb(0, 128, 0)" ? "PASS" : "FAIL";

Powered by Google App Engine
This is Rietveld 408576698