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/masking/parsing-clip-path-iri.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 * { font-size: 16px; } 4 * { font-size: 16px; }
5 div { font-size: 8px; } 5 div { font-size: 8px; }
6 </style> 6 </style>
7 <body> 7 <body>
8 <script src="../js/resources/js-test-pre.js"></script> 8 <script src="../../resources/js-test.js"></script>
9 <script> 9 <script>
10 description('Test clip-path IRIs'); 10 description('Test clip-path IRIs');
11 11
12 function computedStyle(property, value) { 12 function computedStyle(property, value) {
13 var div = document.createElement("div"); 13 var div = document.createElement("div");
14 document.body.appendChild(div); 14 document.body.appendChild(div);
15 div.style.setProperty(property, value); 15 div.style.setProperty(property, value);
16 var computedValue = getComputedStyle(div).getPropertyValue(property); 16 var computedValue = getComputedStyle(div).getPropertyValue(property);
17 document.body.removeChild(div); 17 document.body.removeChild(div);
18 return computedValue; 18 return computedValue;
(...skipping 18 matching lines...) Expand all
37 37
38 testInner("-webkit-clip-path", "url(#clip1)", "url(#clip1)"); 38 testInner("-webkit-clip-path", "url(#clip1)", "url(#clip1)");
39 testInner("-webkit-clip-path", "url(clip.svg#clip1)", "url(clip.svg#clip1)"); 39 testInner("-webkit-clip-path", "url(clip.svg#clip1)", "url(clip.svg#clip1)");
40 40
41 testComputed("-webkit-clip-path", "url(#clip1)", "url(#clip1)"); 41 testComputed("-webkit-clip-path", "url(#clip1)", "url(#clip1)");
42 testComputed("-webkit-clip-path", "url(clip.svg#clip1)", "url(clip.svg#clip1)"); 42 testComputed("-webkit-clip-path", "url(clip.svg#clip1)", "url(clip.svg#clip1)");
43 43
44 </script> 44 </script>
45 </body> 45 </body>
46 </html> 46 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698