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; |
} |