| OLD | NEW |
| 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 Loading... |
| 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> |
| OLD | NEW |