Index: LayoutTests/fast/css/border-radius-cssText.html |
diff --git a/LayoutTests/fast/css/border-radius-cssText.html b/LayoutTests/fast/css/border-radius-cssText.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d5d5015f7c84da379c5fe97c1405315650fa25ee |
--- /dev/null |
+++ b/LayoutTests/fast/css/border-radius-cssText.html |
@@ -0,0 +1,21 @@ |
+<!DOCTYPE HTML> |
+<html> |
+<style> |
+#target { |
+ border-radius: 5px; |
+} |
+</style> |
+<div id="target"></div> |
+<script src="../../resources/js-test.js"></script> |
+ |
+<script> |
+if (window.testRunner) |
+ testRunner.dumpAsText(); |
+ |
+description("Test for Bug 407012: border-radius shorthand is always splitted to longhand properties in CSSStyleRule.cssText."); |
+ |
+var element = document.getElementById("target"); |
+shouldBe("document.styleSheets[0].rules[0].cssText","'#target { border-radius: 5px; }'"); |
+</script> |
+ |
+</html> |