Fix Spark CSS updating tests in Safari 4, iPad

This commit is contained in:
David Greenspan
2012-09-18 15:02:07 -07:00
parent a0ded8c3d0
commit 7b036318e7

View File

@@ -185,11 +185,11 @@ Tinytest.add("spark - patch - copyAttributes", function(test) {
{id:'foo', 'class':'bar',
style:'border:1px solid blue;', name:'baz'});
a.check();
test.equal(a.node().style.borderColor, "blue");
test.equal(a.node().style.borderLeftColor, "blue");
a.copy({id: "foo", style:'border:1px solid red'});
a.check();
test.equal(a.node().style.borderColor, "red");
test.equal(a.node().style.borderLeftColor, "red");
a.copy({id: "foo", 'class':'ha'});
a.check();