OLD | NEW |
(Empty) | |
| 1 <html> |
| 2 <script src="../../resources/testharness.js"></script> |
| 3 <script src="../../resources/testharnessreport.js"></script> |
| 4 </style> |
| 5 <div id="target"></div> |
| 6 <script> |
| 7 target.style.backgroundImage = "-webkit-image-set(url(test1.png) 1x, url(test2.p
ng) 2x)"; |
| 8 test(function() { |
| 9 var expected = '-webkit-image-set(url("' + location.href.replace('cssimagesetv
alue-crash.html', 'test1.png') + '") 1x, url("' + location.href.replace('cssimag
esetvalue-crash.html', 'test2.png') + '") 2x)'; |
| 10 assert_equals(getComputedStyle(target).backgroundImage, expected); |
| 11 assert_equals(target.style.backgroundImage, '-webkit-image-set(url("test1.png"
) 1x, url("test2.png") 2x)'); |
| 12 }, 'Testing serialization of -webkit-image-set'); |
| 13 |
| 14 </script> |
| 15 </html> |
OLD | NEW |