Index: third_party/WebKit/LayoutTests/fast/css/border-shorthand-initialize-longhands.html |
diff --git a/third_party/WebKit/LayoutTests/fast/css/border-shorthand-initialize-longhands.html b/third_party/WebKit/LayoutTests/fast/css/border-shorthand-initialize-longhands.html |
index acb06fa680e2355f121318b049703a5faa184e9f..5f440b0fa4a9e944ead2ffd149ae99d9742bd37c 100644 |
--- a/third_party/WebKit/LayoutTests/fast/css/border-shorthand-initialize-longhands.html |
+++ b/third_party/WebKit/LayoutTests/fast/css/border-shorthand-initialize-longhands.html |
@@ -7,21 +7,21 @@ |
description("This test ensures border shorthand property initializes longhand properties such as border-top-style and border-right-color."); |
var div = document.createElement('div'); |
-shouldBe("div.setAttribute('style', 'border: 1px');div.style.borderTopStyle", "'initial'"); |
-shouldBe("div.style.borderTopStyle", "'initial'"); |
-shouldBe("div.style.borderRightStyle", "'initial'"); |
-shouldBe("div.style.borderBottomStyle", "'initial'"); |
-shouldBe("div.style.borderLeftStyle", "'initial'"); |
+shouldBe("div.setAttribute('style', 'border: 1px');div.style.borderTopStyle", "'none'"); |
+shouldBe("div.style.borderTopStyle", "'none'"); |
+shouldBe("div.style.borderRightStyle", "'none'"); |
+shouldBe("div.style.borderBottomStyle", "'none'"); |
+shouldBe("div.style.borderLeftStyle", "'none'"); |
-shouldBe("div.style.borderTopColor", "'initial'"); |
-shouldBe("div.style.borderRightColor", "'initial'"); |
-shouldBe("div.style.borderBottomColor", "'initial'"); |
-shouldBe("div.style.borderLeftColor", "'initial'"); |
+shouldBe("div.style.borderTopColor", "'currentcolor'"); |
+shouldBe("div.style.borderRightColor", "'currentcolor'"); |
+shouldBe("div.style.borderBottomColor", "'currentcolor'"); |
+shouldBe("div.style.borderLeftColor", "'currentcolor'"); |
-shouldBe("div.setAttribute('style', 'border: solid');div.style.borderTopWidth", "'initial'"); |
-shouldBe("div.style.borderRightWidth", "'initial'"); |
-shouldBe("div.style.borderBottomWidth", "'initial'"); |
-shouldBe("div.style.borderLeftWidth", "'initial'"); |
+shouldBe("div.setAttribute('style', 'border: solid');div.style.borderTopWidth", "'medium'"); |
+shouldBe("div.style.borderRightWidth", "'medium'"); |
+shouldBe("div.style.borderBottomWidth", "'medium'"); |
+shouldBe("div.style.borderLeftWidth", "'medium'"); |
</script> |
</body> |