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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/css/border-radius-cssText-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE HTML>
2 <html>
3 <style>
4 #target {
5 border-radius: 5px;
6 }
7 </style>
8 <div id="target"></div>
9 <script src="../../resources/js-test.js"></script>
10
11 <script>
12 if (window.testRunner)
13 testRunner.dumpAsText();
14
15 description("Test for Bug 407012: border-radius shorthand is always splitted to longhand properties in CSSStyleRule.cssText.");
16
17 var element = document.getElementById("target");
18 shouldBe("document.styleSheets[0].rules[0].cssText","'#target { border-radius: 5 px; }'");
19 </script>
20
21 </html>
OLDNEW
« 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