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

Unified Diff: LayoutTests/fast/dom/Element/setAttributeNode-for-existing-attribute.html

Issue 846933002: Handle null in value list in getLayeredShorthandValue (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix more tests Created 5 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/dom/Element/setAttributeNode-for-existing-attribute.html
diff --git a/LayoutTests/fast/dom/Element/setAttributeNode-for-existing-attribute.html b/LayoutTests/fast/dom/Element/setAttributeNode-for-existing-attribute.html
index c9ef03b523e9051fb2ece16af16f0123a0f99138..1f0de45bf42fc0a40c6e315f72f1dfc4d8e343cf 100644
--- a/LayoutTests/fast/dom/Element/setAttributeNode-for-existing-attribute.html
+++ b/LayoutTests/fast/dom/Element/setAttributeNode-for-existing-attribute.html
@@ -7,12 +7,12 @@ function runTest() {
testRunner.dumpAsText();
var testElement = document.getElementById('test');
- var testElementBgColor = testElement.style.background;
+ var testElementBgColor = testElement.style.backgroundColor;
var newAttr = document.createAttribute("STYLE");
newAttr.value = "background-color: green";
testElement.setAttributeNode(newAttr);
- var testElementBgColorAfterReset = testElement.style.background;
+ var testElementBgColorAfterReset = testElement.style.backgroundColor;
document.getElementById('result').innerHTML = "background-color specified with lowercase style attribute was: "+testElementBgColor+" and specified with uppercase style attribute is: "+testElementBgColorAfterReset;
}
« no previous file with comments | « LayoutTests/fast/css/script-tests/image-set-setting.js ('k') | LayoutTests/fast/dom/background-shorthand-csstext.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698