Index: LayoutTests/fast/table/script-tests/border-changes.js |
diff --git a/LayoutTests/fast/table/script-tests/border-changes.js b/LayoutTests/fast/table/script-tests/border-changes.js |
index e532931f6056367ba3f65909403819d99ce09f9f..87ccb15cd0325da459944f4cb64cbcffb7b8a130 100644 |
--- a/LayoutTests/fast/table/script-tests/border-changes.js |
+++ b/LayoutTests/fast/table/script-tests/border-changes.js |
@@ -153,4 +153,20 @@ shouldBe("getComputedStyle(cell, '').borderRightColor", "red"); |
shouldBe("getComputedStyle(cell, '').borderTopColor", "red"); |
shouldBe("getComputedStyle(cell, '').borderBottomColor", "red"); |
+// resets to default border width of 3px |
+table.removeAttribute("border"); |
+ |
+shouldBe("getComputedStyle(table, '').borderLeftWidth", "'3px'"); |
+shouldBe("getComputedStyle(table, '').borderRightWidth", "'3px'"); |
+shouldBe("getComputedStyle(table, '').borderTopWidth", "'3px'"); |
+shouldBe("getComputedStyle(table, '').borderBottomWidth", "'3px'"); |
+shouldBe("getComputedStyle(table, '').borderLeftStyle", "'solid'"); |
+shouldBe("getComputedStyle(table, '').borderRightStyle", "'solid'"); |
+shouldBe("getComputedStyle(table, '').borderTopStyle", "'solid'"); |
+shouldBe("getComputedStyle(table, '').borderBottomStyle", "'solid'"); |
+shouldBe("getComputedStyle(table, '').borderLeftColor", "yellow"); |
+shouldBe("getComputedStyle(table, '').borderRightColor", "yellow"); |
+shouldBe("getComputedStyle(table, '').borderTopColor", "yellow"); |
+shouldBe("getComputedStyle(table, '').borderBottomColor", "yellow"); |
+ |
document.body.removeChild(table); |