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

Unified Diff: LayoutTests/fast/css/border-radius-cssText.html

Issue 547043002: border-radius cssText always outputs to longhand properties (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix failing tests Created 6 years, 3 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
« no previous file with comments | « no previous file | LayoutTests/fast/css/border-radius-cssText-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « no previous file | LayoutTests/fast/css/border-radius-cssText-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698