Index: LayoutTests/fast/css/shorthand-priority.html |
diff --git a/LayoutTests/fast/css/shorthand-priority.html b/LayoutTests/fast/css/shorthand-priority.html |
index 71920d1e4e6c309d643b093bae357d2c40ae3f1a..a7a0d115982e034ed4023cb2c9bbe1d6c90b3732 100644 |
--- a/LayoutTests/fast/css/shorthand-priority.html |
+++ b/LayoutTests/fast/css/shorthand-priority.html |
@@ -18,6 +18,9 @@ e = document.getElementById('test'); |
// Sanity check. |
e.style.setProperty("border-bottom-style", "solid", "!important"); |
+shouldBeNull("e.style.getPropertyValue('border-bottom-style')"); |
+shouldBe("e.style.getPropertyPriority('border-bottom-style')", "''"); |
+e.style.setProperty("border-bottom-style", "solid", "important"); |
shouldBe("e.style.getPropertyValue('border-bottom-style')", "'solid'"); |
shouldBe("e.style.getPropertyPriority('border-bottom-style')", "'important'"); |
@@ -27,7 +30,7 @@ shouldBe("e.style.getPropertyValue('border')", "'20px solid green'"); |
shouldBe("e.style.getPropertyPriority('border')", "''"); |
e.style.border = ""; |
-e.style.setProperty("border", "20px solid green", "!important"); |
+e.style.setProperty("border", "20px solid green", "imporTANT"); |
shouldBe("e.style.getPropertyValue('border')", "'20px solid green'"); |
shouldBe("e.style.getPropertyPriority('border')", "'important'"); |