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

Side by Side Diff: LayoutTests/fast/css/getComputedStyle/computed-style-border-image.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 <head> 3 <head>
4 <meta charset="utf-8"> 4 <meta charset="utf-8">
5 <script src="../../js/resources/js-test-pre.js"></script> 5 <script src="../../../resources/js-test.js"></script>
6 </head> 6 </head>
7 <body> 7 <body>
8 <p>Test computed style for the border-image property and sub-properties</p> 8 <p>Test computed style for the border-image property and sub-properties</p>
9 <div id="console"></div> 9 <div id="console"></div>
10 <script> 10 <script>
11 11
12 var testDiv = document.createElement('div'); 12 var testDiv = document.createElement('div');
13 testDiv.style.borderWidth = '10px'; 13 testDiv.style.borderWidth = '10px';
14 document.body.appendChild(testDiv); 14 document.body.appendChild(testDiv);
15 15
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 shouldBe("computedBorderImageStyle('url(dummy://test.png) 10 / 13px / 11px', 'bo rder-image')", "'url(dummy://test.png) 10 / 13px / 11px stretch'"); 77 shouldBe("computedBorderImageStyle('url(dummy://test.png) 10 / 13px / 11px', 'bo rder-image')", "'url(dummy://test.png) 10 / 13px / 11px stretch'");
78 shouldBe("checkComputedStyleValue()", "true"); 78 shouldBe("checkComputedStyleValue()", "true");
79 79
80 shouldBe("computedBorderImageStyle('url(test.png) 10 / 13px / 11px repeat stretc h', 'border-image-outset')", "'11px'"); 80 shouldBe("computedBorderImageStyle('url(test.png) 10 / 13px / 11px repeat stretc h', 'border-image-outset')", "'11px'");
81 shouldBe("computedBorderImageStyle('url(dummy://test.png) 10 / 13px / 11px repea t stretch', 'border-image')", "'url(dummy://test.png) 10 / 13px / 11px repeat st retch'"); 81 shouldBe("computedBorderImageStyle('url(dummy://test.png) 10 / 13px / 11px repea t stretch', 'border-image')", "'url(dummy://test.png) 10 / 13px / 11px repeat st retch'");
82 shouldBe("checkComputedStyleValue()", "true"); 82 shouldBe("checkComputedStyleValue()", "true");
83 83
84 </script> 84 </script>
85 </body> 85 </body>
86 </html> 86 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698