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: third_party/WebKit/LayoutTests/fast/masking/parsing-clip-path-iri.html

Issue 1363233003: Make sure <url>s are being serialized according to spec (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix interpolation tests Created 5 years, 2 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
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="../../resources/js-test.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');
(...skipping 17 matching lines...) Expand all
28 shouldBeEqualToString('computedStyle("' + property + '", "' + value + '")', expected); 28 shouldBeEqualToString('computedStyle("' + property + '", "' + value + '")', expected);
29 } 29 }
30 30
31 function testInner(property, value, expected) { 31 function testInner(property, value, expected) {
32 if (expected === null) 32 if (expected === null)
33 shouldBeNull('innerStyle("' + property + '", "' + value + '")'); 33 shouldBeNull('innerStyle("' + property + '", "' + value + '")');
34 else 34 else
35 shouldBeEqualToString('innerStyle("' + property + '", "' + value + '")', expected); 35 shouldBeEqualToString('innerStyle("' + property + '", "' + value + '")', expected);
36 } 36 }
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