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

Side by Side Diff: LayoutTests/fast/css/border-radius-property-value.html

Issue 58533003: Move fast/js/resources files to resources. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE HTML> 1 <!DOCTYPE HTML>
2 <html> 2 <html>
3 <style> 3 <style>
4 #element-container { 4 #element-container {
5 border-radius:5px; 5 border-radius:5px;
6 } 6 }
7 </style> 7 </style>
8 <div id="element-container"></div> 8 <div id="element-container"></div>
9 <script src="../js/resources/js-test-pre.js"></script> 9 <script src="../../resources/js-test.js"></script>
10 10
11 <script> 11 <script>
12 if (window.testRunner) 12 if (window.testRunner)
13 testRunner.dumpAsText(); 13 testRunner.dumpAsText();
14 14
15 description("Test for Bug: 80736 - CSSStyleDeclaration.getPropertyValue() for 'b order-radius' returns null when value is set"); 15 description("Test for Bug: 80736 - CSSStyleDeclaration.getPropertyValue() for 'b order-radius' returns null when value is set");
16 16
17 var element = document.getElementById("element-container"); 17 var element = document.getElementById("element-container");
18 var style = window.getMatchedCSSRules(element)[0].style; 18 var style = window.getMatchedCSSRules(element)[0].style;
19 shouldBe("style.getPropertyValue('border-radius')","'5px'"); 19 shouldBe("style.getPropertyValue('border-radius')","'5px'");
20 shouldBe("style.getPropertyValue('border-top-left-radius')","'5px'"); 20 shouldBe("style.getPropertyValue('border-top-left-radius')","'5px'");
21 shouldBe("style.getPropertyValue('border-top-right-radius')","'5px'"); 21 shouldBe("style.getPropertyValue('border-top-right-radius')","'5px'");
22 shouldBe("style.getPropertyValue('border-bottom-left-radius')","'5px'"); 22 shouldBe("style.getPropertyValue('border-bottom-left-radius')","'5px'");
23 shouldBe("style.getPropertyValue('border-bottom-right-radius')","'5px'"); 23 shouldBe("style.getPropertyValue('border-bottom-right-radius')","'5px'");
24 </script> 24 </script>
25 25
26 </html> 26 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/css/border-image-style-length.html ('k') | LayoutTests/fast/css/border-shorthand-initialize-longhands.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698