test/test_sanitize_css.rb in sanitize-6.1.2 vs test/test_sanitize_css.rb in sanitize-6.1.3
- old
+ new
@@ -30,9 +30,12 @@
"background: url(https://example.com/https.jpg)",
"background: url('https://example.com/https.jpg')",
"background: image-set('relative.jpg' 1x, 'relative-2x.jpg' 2x)",
"background: image-set('https://example.com/https.jpg' 1x, 'https://example.com/https-2x.jpg' 2x)",
"background: image-set('https://example.com/https.jpg' type('image/jpeg'), 'https://example.com/https.avif' type('image/avif'))",
+ "background: -webkit-image-set('relative.jpg' 1x, 'relative-2x.jpg' 2x)",
+ "background: -webkit-image-set('https://example.com/https.jpg' 1x, 'https://example.com/https-2x.jpg' 2x)",
+ "background: -webkit-image-set('https://example.com/https.jpg' type('image/jpeg'), 'https://example.com/https.avif' type('image/avif'))",
"background: image('relative.jpg');",
"background: image('https://example.com/https.jpg');",
"background: image(rtl 'https://example.com/https.jpg');"
].each do |css|
_(@default.properties(css)).must_equal ''