Index: LayoutTests/fast/css/shorthand-setProperty-important.html |
diff --git a/LayoutTests/fast/css/shorthand-setProperty-important.html b/LayoutTests/fast/css/shorthand-setProperty-important.html |
index 4864486911d4dc5102860b8df426fd28b6106e86..0e3ff4a090ea8f828e40ae869c1609b69c3c2816 100644 |
--- a/LayoutTests/fast/css/shorthand-setProperty-important.html |
+++ b/LayoutTests/fast/css/shorthand-setProperty-important.html |
@@ -37,6 +37,16 @@ e.style.setProperty("border-bottom-style", "solid", "random"); |
shouldBe("e.style.getPropertyValue('border-bottom-style')", "null"); |
shouldBe("e.style.getPropertyPriority('border-bottom-style')", "''"); |
+e.style.borderBottomStyle = ""; |
+e.style.setProperty("border-bottom-style", "solid", "undefined"); |
+shouldBe("e.style.getPropertyValue('border-bottom-style')", "null"); |
+shouldBe("e.style.getPropertyPriority('border-bottom-style')", "''"); |
+ |
+e.style.borderBottomStyle = ""; |
+e.style.setProperty("border-bottom-style", "solid", undefined); |
+shouldBe("e.style.getPropertyValue('border-bottom-style')", "'solid'"); |
+shouldBe("e.style.getPropertyPriority('border-bottom-style')", "''"); |
+ |
document.body.removeChild(testContainer); |
</script> |
</body> |