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

Unified Diff: third_party/WebKit/LayoutTests/fast/css/border-shorthand-initialize-longhands.html

Issue 2249653002: border-foo WIP Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: V9 Created 4 years, 4 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: 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>

Powered by Google App Engine
This is Rietveld 408576698