Update stylo for latest changes. (#33079)

Signed-off-by: Josh Matthews <josh@joshmatthews.net>
This commit is contained in:
Josh Matthews 2024-08-16 06:47:12 -04:00 committed by GitHub
parent ce5ebbcf77
commit 3d3621b652
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
23 changed files with 28 additions and 966 deletions

View file

@ -1,108 +0,0 @@
[image-set-computed.sub.html]
[Property background-image value 'image-set(url(http://web-platform.test/example.png) 1x)']
expected: FAIL
[Property background-image value '-webkit-image-set(url(http://web-platform.test/example.png) 1x)']
expected: FAIL
[Property background-image value 'image-set(url(http://web-platform.test/example.png) 1x, 'http://web-platform.test/example.png' 2x)']
expected: FAIL
[Property background-image value '-webkit-image-set(url(http://web-platform.test/example.png) 1x, 'http://web-platform.test/example.png' 2x)']
expected: FAIL
[Property background-image value 'image-set(url("http://web-platform.test/example.png") 1dppx)']
expected: FAIL
[Property background-image value '-webkit-image-set(url("http://web-platform.test/example.png") 1dppx)']
expected: FAIL
[Property background-image value 'image-set(url(http://web-platform.test/example.png) 48dpi)']
expected: FAIL
[Property background-image value '-webkit-image-set(url(http://web-platform.test/example.png) 48dpi)']
expected: FAIL
[Property background-image value 'image-set(url(http://web-platform.test/example.png) 2400dpcm, 'http://web-platform.test/example.png' 2x)']
expected: FAIL
[Property background-image value '-webkit-image-set(url(http://web-platform.test/example.png) 2400dpcm, 'http://web-platform.test/example.png' 2x)']
expected: FAIL
[Property background-image value 'image-set('http://web-platform.test/example.jpeg' 240dpi, url(http://web-platform.test/example.png) 3.5x)']
expected: FAIL
[Property background-image value '-webkit-image-set('http://web-platform.test/example.jpeg' 240dpi, url(http://web-platform.test/example.png) 3.5x)']
expected: FAIL
[Property background-image value 'image-set(linear-gradient(black, white) 1x)']
expected: FAIL
[Property background-image value '-webkit-image-set(linear-gradient(black, white) 1x)']
expected: FAIL
[Property background-image value 'image-set(url(http://web-platform.test/example.png) 1x type('image/png'))']
expected: FAIL
[Property background-image value '-webkit-image-set(url(http://web-platform.test/example.png) 1x type('image/png'))']
expected: FAIL
[Property background-image value 'image-set(url(http://web-platform.test/example.png) type('image/png'))']
expected: FAIL
[Property background-image value '-webkit-image-set(url(http://web-platform.test/example.png) type('image/png'))']
expected: FAIL
[Property background-image value 'image-set(url(http://web-platform.test/example.png) type('image/png') 1x)']
expected: FAIL
[Property background-image value '-webkit-image-set(url(http://web-platform.test/example.png) type('image/png') 1x)']
expected: FAIL
[Property content value 'image-set(url('http://web-platform.test/example.png') 192dpi, linear-gradient(black, white) 1x)']
expected: FAIL
[Property content value '-webkit-image-set(url('http://web-platform.test/example.png') 192dpi, linear-gradient(black, white) 1x)']
expected: FAIL
[Property background-image value 'image-set(url("http://web-platform.test/example.png") type("image/unsupported"))']
expected: FAIL
[Property background-image value '-webkit-image-set(url("http://web-platform.test/example.png") type("image/unsupported"))']
expected: FAIL
[Property background-image value 'image-set(url("http://web-platform.test/example.png") 2x type("image/unsupported"), url("http://web-platform.test/example.png") 1x type("image/unsupported"))']
expected: FAIL
[Property background-image value '-webkit-image-set(url("http://web-platform.test/example.png") 2x type("image/unsupported"), url("http://web-platform.test/example.png") 1x type("image/unsupported"))']
expected: FAIL
[Property background-image value 'image-set(url('http://web-platform.test/example.png') calc(1x * 2))']
expected: FAIL
[Property background-image value '-webkit-image-set(url('http://web-platform.test/example.png') calc(1x * 2))']
expected: FAIL
[Property background-image value 'image-set(url('http://web-platform.test/example.png') calc(6dppx / 3))']
expected: FAIL
[Property background-image value '-webkit-image-set(url('http://web-platform.test/example.png') calc(6dppx / 3))']
expected: FAIL
[Property background-image value 'image-set(url('http://web-platform.test/example.png') calc(100dpi - 4dpi))']
expected: FAIL
[Property background-image value '-webkit-image-set(url('http://web-platform.test/example.png') calc(100dpi - 4dpi))']
expected: FAIL
[Property background-image value 'image-set(url('http://web-platform.test/example.png') calc(37dpcm + 0.79532dpcm))']
expected: FAIL
[Property background-image value '-webkit-image-set(url('http://web-platform.test/example.png') calc(37dpcm + 0.79532dpcm))']
expected: FAIL
[Property background-image value 'image-set(url('http://web-platform.test/example.png') calc(-1 * 1x))']
expected: FAIL
[Property background-image value '-webkit-image-set(url('http://web-platform.test/example.png') calc(-1 * 1x))']
expected: FAIL

View file

@ -1,2 +0,0 @@
[image-set-negative-resolution-rendering-3.html]
expected: FAIL

View file

@ -32,258 +32,12 @@
[background-image: image-set(url('example.png') 1x) [ parsable \]]
expected: FAIL
[e.style['background-image'\] = "image-set(url(example.png) 1x)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "-webkit-image-set(url(example.png) 1x)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "image-set(url(\\"example.png\\") 1x)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "-webkit-image-set(url(\\"example.png\\") 1x)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "image-set('example.jpg' 1x)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "-webkit-image-set('example.jpg' 1x)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "image-set(url(example.png) 1x, 'example.png' 2x)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "-webkit-image-set(url(example.png) 1x, 'example.png' 2x)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "image-set(url(\\"example.png\\") 1dppx)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "-webkit-image-set(url(\\"example.png\\") 1dppx)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "image-set(url(\\"example.png\\") 1dpi)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "-webkit-image-set(url(\\"example.png\\") 1dpi)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "image-set(url(\\"example.png\\") 1dpcm)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "-webkit-image-set(url(\\"example.png\\") 1dpcm)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "image-set(url(example.png) 1dpcm, 'example.png' 2x)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "-webkit-image-set(url(example.png) 1dpcm, 'example.png' 2x)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "image-set('example.jpeg' 222dpi, url(example.png) 3.5x)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "-webkit-image-set('example.jpeg' 222dpi, url(example.png) 3.5x)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "image-set(linear-gradient(black, white) 1x)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "-webkit-image-set(linear-gradient(black, white) 1x)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "image-set(url(\\"example.png\\") 1x type(\\"image/png\\"))" should set the property value]
expected: FAIL
[e.style['background-image'\] = "-webkit-image-set(url(\\"example.png\\") 1x type(\\"image/png\\"))" should set the property value]
expected: FAIL
[e.style['background-image'\] = "image-set(url(example.png) type('image/png'))" should set the property value]
expected: FAIL
[e.style['background-image'\] = "-webkit-image-set(url(example.png) type('image/png'))" should set the property value]
expected: FAIL
[e.style['background-image'\] = "image-set(url(example.png) type('image/png') 1x)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "-webkit-image-set(url(example.png) type('image/png') 1x)" should set the property value]
expected: FAIL
[e.style['content'\] = "image-set(linear-gradient(black, white) 1x, 'example.png' 4x)" should set the property value]
expected: FAIL
[e.style['content'\] = "-webkit-image-set(linear-gradient(black, white) 1x, 'example.png' 4x)" should set the property value]
expected: FAIL
[e.style['content'\] = "image-set(url(\\"example.png\\") 192dpi, linear-gradient(black, white) 1x)" should set the property value]
expected: FAIL
[e.style['content'\] = "-webkit-image-set(url(\\"example.png\\") 192dpi, linear-gradient(black, white) 1x)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "image-set(url(foo))" should set the property value]
expected: FAIL
[e.style['background-image'\] = "-webkit-image-set(url(foo))" should set the property value]
expected: FAIL
[e.style['background-image'\] = "image-set(url(foo), url(bar) 1x)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "-webkit-image-set(url(foo), url(bar) 1x)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "image-set(url(foo) 1x, url(bar))" should set the property value]
expected: FAIL
[e.style['background-image'\] = "-webkit-image-set(url(foo) 1x, url(bar))" should set the property value]
expected: FAIL
[e.style['background-image'\] = "image-set(url(foo), url(bar))" should set the property value]
expected: FAIL
[e.style['background-image'\] = "-webkit-image-set(url(foo), url(bar))" should set the property value]
expected: FAIL
[e.style['background-image'\] = "image-set(url(foo) 1x, url(bar), url(baz) 2x)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "-webkit-image-set(url(foo) 1x, url(bar), url(baz) 2x)" should set the property value]
expected: FAIL
[e.style['content'\] = "image-set(url(\\"example.png\\") 1dpi)" should set the property value]
expected: FAIL
[e.style['content'\] = "-webkit-image-set(url(\\"example.png\\") 1dpi)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "image-set(repeating-linear-gradient(red, blue 25%) 1x)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "-webkit-image-set(repeating-linear-gradient(red, blue 25%) 1x)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "image-set(radial-gradient(black, white) 1x)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "-webkit-image-set(radial-gradient(black, white) 1x)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "image-set(repeating-radial-gradient(red, blue 25%) 1x)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "-webkit-image-set(repeating-radial-gradient(red, blue 25%) 1x)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "image-set(conic-gradient(black, white) 1x)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "-webkit-image-set(conic-gradient(black, white) 1x)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "image-set(repeating-conic-gradient(red, blue 25%) 1x)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "-webkit-image-set(repeating-conic-gradient(red, blue 25%) 1x)" should set the property value]
expected: FAIL
[e.style['content'\] = "image-set(linear-gradient(black, white) 1x, url(\\"example.png\\") 4x)" should set the property value]
expected: FAIL
[e.style['content'\] = "-webkit-image-set(linear-gradient(black, white) 1x, url(\\"example.png\\") 4x)" should set the property value]
expected: FAIL
[e.style['content'\] = "image-set(url(\\"example.png\\") 1x)" should set the property value]
expected: FAIL
[e.style['content'\] = "-webkit-image-set(url(\\"example.png\\") 1x)" should set the property value]
expected: FAIL
[e.style['content'\] = "image-set(url(\\"example.png\\") 1x, \\"example.png\\" 3x)" should set the property value]
expected: FAIL
[e.style['content'\] = "-webkit-image-set(url(\\"example.png\\") 1x, \\"example.png\\" 3x)" should set the property value]
expected: FAIL
[e.style['border-image-source'\] = "image-set(url(\\"example.png\\") 1x)" should set the property value]
expected: FAIL
[e.style['border-image-source'\] = "-webkit-image-set(url(\\"example.png\\") 1x)" should set the property value]
expected: FAIL
[e.style['border-image-source'\] = "image-set(url(\\"example.png\\") 1x, \\"example.png\\" 3x)" should set the property value]
expected: FAIL
[e.style['border-image-source'\] = "-webkit-image-set(url(\\"example.png\\") 1x, \\"example.png\\" 3x)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "image-set(url(\\"example.png\\") calc(2x * 3))" should set the property value]
expected: FAIL
[e.style['background-image'\] = "-webkit-image-set(url(\\"example.png\\") calc(2x * 3))" should set the property value]
expected: FAIL
[e.style['background-image'\] = "image-set(url(\\"example.png\\") calc(1dppx * 1))" should set the property value]
expected: FAIL
[e.style['background-image'\] = "-webkit-image-set(url(\\"example.png\\") calc(1dppx * 1))" should set the property value]
expected: FAIL
[e.style['background-image'\] = "image-set(url(\\"example.png\\") calc(96dpi * 2))" should set the property value]
expected: FAIL
[e.style['background-image'\] = "-webkit-image-set(url(\\"example.png\\") calc(96dpi * 2))" should set the property value]
expected: FAIL
[e.style['background-image'\] = "image-set(url(\\"example.png\\") calc(1dpcm * 96/2.54))" should set the property value]
expected: FAIL
[e.style['background-image'\] = "-webkit-image-set(url(\\"example.png\\") calc(1dpcm * 96/2.54))" should set the property value]
expected: FAIL
[e.style['background-image'\] = "image-set(url(\\"example.png\\") 1x, url(\\"example.png\\") 2dppx, \\"example.png\\" 250dpi, \\"example.png\\" 1dpcm)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "-webkit-image-set(url(\\"example.png\\") 1x, url(\\"example.png\\") 2dppx, \\"example.png\\" 250dpi, \\"example.png\\" 1dpcm)" should set the property value]
expected: FAIL
[e.style['content'\] = "image-set(url(\\"example.png\\") calc(1 * 96dpi))" should set the property value]
expected: FAIL
[e.style['content'\] = "-webkit-image-set(url(\\"example.png\\") calc(1 * 96dpi))" should set the property value]
expected: FAIL
[e.style['background-image'\] = "image-set(url(example.png) 1x type('image/jpeg'))" should set the property value]
expected: FAIL
[e.style['background-image'\] = "-webkit-image-set(url(example.png) 1x type('image/jpeg'))" should set the property value]
expected: FAIL
[e.style['background-image'\] = "image-set(url(\\"example.png\\") 0x)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "-webkit-image-set(url(\\"example.png\\") 0x)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "image-set(url(\\"example.png\\") 0dppx)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "-webkit-image-set(url(\\"example.png\\") 0dppx)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "image-set(url(\\"example.png\\") 0dpi)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "-webkit-image-set(url(\\"example.png\\") 0dpi)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "image-set(url(\\"example.png\\") 0dpcm)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "-webkit-image-set(url(\\"example.png\\") 0dpcm)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "image-set(url(\\"example.png\\") -1x)" should set the property value]
expected: FAIL
@ -307,15 +61,3 @@
[e.style['background-image'\] = "-webkit-image-set(url(\\"example.png\\") -113dpcm)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "image-set(url(\\"example.png\\") calc(-1 * 1x))" should set the property value]
expected: FAIL
[e.style['background-image'\] = "-webkit-image-set(url(\\"example.png\\") calc(-1 * 1x))" should set the property value]
expected: FAIL
[e.style['background-image'\] = "image-set(url(\\"example.png\\") calc(1x + -1x))" should set the property value]
expected: FAIL
[e.style['background-image'\] = "-webkit-image-set(url(\\"example.png\\") calc(1x + -1x))" should set the property value]
expected: FAIL

View file

@ -1,2 +0,0 @@
[image-set-type-unsupported-rendering-2.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[image-set-type-unsupported-rendering.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[image-set-zero-resolution-rendering-2.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[image-set-zero-resolution-rendering.html]
expected: FAIL

View file

@ -1,6 +0,0 @@
[cursor-valid.html]
[e.style['cursor'\] = "image-set(\\"https://example.com/\\" 1x) 5 6, grab" should set the property value]
expected: FAIL
[e.style['cursor'\] = "image-set(\\"https://example.com/\\" 1x, \\"https://example.com/highres\\" 2x) 5 6, grab" should set the property value]
expected: FAIL

View file

@ -1,90 +1,3 @@
[calc-infinity-nan-serialize-resolution.html]
['image-set(url("") calc(1x * NaN))' as a specified value should serialize as 'image-set(url("") calc(NaN * 1dppx))'.]
expected: FAIL
['image-set(url("") calc(1x * nan))' as a specified value should serialize as 'image-set(url("") calc(NaN * 1dppx))'.]
expected: FAIL
['image-set(url("") calc(1dppx * NaN))' as a specified value should serialize as 'image-set(url("") calc(NaN * 1dppx))'.]
expected: FAIL
['image-set(url("") calc(1dppx * infinity / infinity))' as a specified value should serialize as 'image-set(url("") calc(NaN * 1dppx))'.]
expected: FAIL
['image-set(url("") calc(1dppx * 0 * infinity))' as a specified value should serialize as 'image-set(url("") calc(NaN * 1dppx))'.]
expected: FAIL
['image-set(url("") calc(1dppx * (infinity + -infinity)))' as a specified value should serialize as 'image-set(url("") calc(NaN * 1dppx))'.]
expected: FAIL
['image-set(url("") calc(1dppx * (-infinity + infinity)))' as a specified value should serialize as 'image-set(url("") calc(NaN * 1dppx))'.]
expected: FAIL
['image-set(url("") calc(1dppx * (infinity - infinity)))' as a specified value should serialize as 'image-set(url("") calc(NaN * 1dppx))'.]
expected: FAIL
['image-set(url("") calc(1dppx * infinity))' as a specified value should serialize as 'image-set(url("") calc(infinity * 1dppx))'.]
expected: FAIL
['image-set(url("") calc(1dppx * -infinity))' as a specified value should serialize as 'image-set(url("") calc(-infinity * 1dppx))'.]
expected: FAIL
['image-set(url("") calc(1dppx * iNFinIty))' as a specified value should serialize as 'image-set(url("") calc(infinity * 1dppx))'.]
expected: FAIL
['image-set(url("") calc(1dppx * (infinity + infinity)))' as a specified value should serialize as 'image-set(url("") calc(infinity * 1dppx))'.]
expected: FAIL
['image-set(url("") calc(1dppx * (-infinity + -infinity)))' as a specified value should serialize as 'image-set(url("") calc(-infinity * 1dppx))'.]
expected: FAIL
['image-set(url("") calc(1dppx * 1/infinity))' as a specified value should serialize as 'image-set(url("") calc(0dppx))'.]
expected: FAIL
['image-set(url("") calc(1dppx * infinity * infinity))' as a specified value should serialize as 'image-set(url("") calc(infinity * 1dppx))'.]
expected: FAIL
['image-set(url("") calc(1dppx * -infinity * -infinity))' as a specified value should serialize as 'image-set(url("") calc(infinity * 1dppx))'.]
expected: FAIL
['image-set(url("") calc(1 * max(INFinity*3dppx, 0dppx)))' as a specified value should serialize as 'image-set(url("") calc(infinity * 1dppx))'.]
expected: FAIL
['image-set(url("") calc(1 * min(inFInity*4dppx, 0dppx)))' as a specified value should serialize as 'image-set(url("") calc(0dppx))'.]
expected: FAIL
['image-set(url("") calc(1 * max(nAn*2dppx, 0dppx)))' as a specified value should serialize as 'image-set(url("") calc(NaN * 1dppx))'.]
expected: FAIL
['image-set(url("") calc(1 * min(nan*3dppx, 0dppx)))' as a specified value should serialize as 'image-set(url("") calc(NaN * 1dppx))'.]
expected: FAIL
['image-set(url("") calc(1 * clamp(-INFINITY*0dppx, 0dppx, infiniTY*0dppx)))' as a specified value should serialize as 'image-set(url("") calc(0dppx))'.]
expected: FAIL
['image-set(url("") calc(1dppx * max(NaN, min(0,10))))' as a specified value should serialize as 'image-set(url("") calc(NaN * 1dppx))'.]
expected: FAIL
['image-set(url("") calc(1dppx * clamp(NaN, 0, 10)))' as a specified value should serialize as 'image-set(url("") calc(NaN * 1dppx))'.]
expected: FAIL
['image-set(url("") calc(1dppx * max(0, min(10, NaN))))' as a specified value should serialize as 'image-set(url("") calc(NaN * 1dppx))'.]
expected: FAIL
['image-set(url("") calc(1dppx * clamp(0, 10, NaN)))' as a specified value should serialize as 'image-set(url("") calc(NaN * 1dppx))'.]
expected: FAIL
['image-set(url("") calc(1dppx * max(0, min(NaN, 10))))' as a specified value should serialize as 'image-set(url("") calc(NaN * 1dppx))'.]
expected: FAIL
['image-set(url("") calc(1dppx * clamp(0, NaN, 10)))' as a specified value should serialize as 'image-set(url("") calc(NaN * 1dppx))'.]
expected: FAIL
['image-set(url("") calc(1dppx * clamp(-Infinity, 0, infinity)))' as a specified value should serialize as 'image-set(url("") calc(0dppx))'.]
expected: FAIL
['image-set(url("") calc(1dppx * clamp(-inFinity, infinity, 10)))' as a specified value should serialize as 'image-set(url("") calc(10dppx))'.]
expected: FAIL
['image-set(url("") calc(1 * clamp(-INFINITY*20dppx, 0dppx, infiniTY*10dppx)))' as a specified value should serialize as 'image-set(url("") calc(0dppx))'.]
expected: FAIL

View file

@ -1,108 +0,0 @@
[image-set-computed.sub.html]
[Property background-image value 'image-set(url(http://web-platform.test/example.png) 1x)']
expected: FAIL
[Property background-image value '-webkit-image-set(url(http://web-platform.test/example.png) 1x)']
expected: FAIL
[Property background-image value 'image-set(url(http://web-platform.test/example.png) 1x, 'http://web-platform.test/example.png' 2x)']
expected: FAIL
[Property background-image value '-webkit-image-set(url(http://web-platform.test/example.png) 1x, 'http://web-platform.test/example.png' 2x)']
expected: FAIL
[Property background-image value 'image-set(url("http://web-platform.test/example.png") 1dppx)']
expected: FAIL
[Property background-image value '-webkit-image-set(url("http://web-platform.test/example.png") 1dppx)']
expected: FAIL
[Property background-image value 'image-set(url(http://web-platform.test/example.png) 48dpi)']
expected: FAIL
[Property background-image value '-webkit-image-set(url(http://web-platform.test/example.png) 48dpi)']
expected: FAIL
[Property background-image value 'image-set(url(http://web-platform.test/example.png) 2400dpcm, 'http://web-platform.test/example.png' 2x)']
expected: FAIL
[Property background-image value '-webkit-image-set(url(http://web-platform.test/example.png) 2400dpcm, 'http://web-platform.test/example.png' 2x)']
expected: FAIL
[Property background-image value 'image-set('http://web-platform.test/example.jpeg' 240dpi, url(http://web-platform.test/example.png) 3.5x)']
expected: FAIL
[Property background-image value '-webkit-image-set('http://web-platform.test/example.jpeg' 240dpi, url(http://web-platform.test/example.png) 3.5x)']
expected: FAIL
[Property background-image value 'image-set(linear-gradient(black, white) 1x)']
expected: FAIL
[Property background-image value '-webkit-image-set(linear-gradient(black, white) 1x)']
expected: FAIL
[Property background-image value 'image-set(url(http://web-platform.test/example.png) 1x type('image/png'))']
expected: FAIL
[Property background-image value '-webkit-image-set(url(http://web-platform.test/example.png) 1x type('image/png'))']
expected: FAIL
[Property background-image value 'image-set(url(http://web-platform.test/example.png) type('image/png'))']
expected: FAIL
[Property background-image value '-webkit-image-set(url(http://web-platform.test/example.png) type('image/png'))']
expected: FAIL
[Property background-image value 'image-set(url(http://web-platform.test/example.png) type('image/png') 1x)']
expected: FAIL
[Property background-image value '-webkit-image-set(url(http://web-platform.test/example.png) type('image/png') 1x)']
expected: FAIL
[Property content value 'image-set(url('http://web-platform.test/example.png') 192dpi, linear-gradient(black, white) 1x)']
expected: FAIL
[Property content value '-webkit-image-set(url('http://web-platform.test/example.png') 192dpi, linear-gradient(black, white) 1x)']
expected: FAIL
[Property background-image value 'image-set(url("http://web-platform.test/example.png") type("image/unsupported"))']
expected: FAIL
[Property background-image value '-webkit-image-set(url("http://web-platform.test/example.png") type("image/unsupported"))']
expected: FAIL
[Property background-image value 'image-set(url("http://web-platform.test/example.png") 2x type("image/unsupported"), url("http://web-platform.test/example.png") 1x type("image/unsupported"))']
expected: FAIL
[Property background-image value '-webkit-image-set(url("http://web-platform.test/example.png") 2x type("image/unsupported"), url("http://web-platform.test/example.png") 1x type("image/unsupported"))']
expected: FAIL
[Property background-image value 'image-set(url('http://web-platform.test/example.png') calc(1x * 2))']
expected: FAIL
[Property background-image value '-webkit-image-set(url('http://web-platform.test/example.png') calc(1x * 2))']
expected: FAIL
[Property background-image value 'image-set(url('http://web-platform.test/example.png') calc(6dppx / 3))']
expected: FAIL
[Property background-image value '-webkit-image-set(url('http://web-platform.test/example.png') calc(6dppx / 3))']
expected: FAIL
[Property background-image value 'image-set(url('http://web-platform.test/example.png') calc(100dpi - 4dpi))']
expected: FAIL
[Property background-image value '-webkit-image-set(url('http://web-platform.test/example.png') calc(100dpi - 4dpi))']
expected: FAIL
[Property background-image value 'image-set(url('http://web-platform.test/example.png') calc(37dpcm + 0.79532dpcm))']
expected: FAIL
[Property background-image value '-webkit-image-set(url('http://web-platform.test/example.png') calc(37dpcm + 0.79532dpcm))']
expected: FAIL
[Property background-image value 'image-set(url('http://web-platform.test/example.png') calc(-1 * 1x))']
expected: FAIL
[Property background-image value '-webkit-image-set(url('http://web-platform.test/example.png') calc(-1 * 1x))']
expected: FAIL

View file

@ -1,2 +0,0 @@
[image-set-negative-resolution-rendering-3.html]
expected: FAIL

View file

@ -1,264 +1,6 @@
[image-set-parsing.html]
[e.style['background-image'\] = "image-set(url(example.png) 1x)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "-webkit-image-set(url(example.png) 1x)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "image-set(url(\\"example.png\\") 1x)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "-webkit-image-set(url(\\"example.png\\") 1x)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "image-set('example.jpg' 1x)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "-webkit-image-set('example.jpg' 1x)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "image-set(url(example.png) 1x, 'example.png' 2x)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "-webkit-image-set(url(example.png) 1x, 'example.png' 2x)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "image-set(url(\\"example.png\\") 1dppx)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "-webkit-image-set(url(\\"example.png\\") 1dppx)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "image-set(url(\\"example.png\\") 1dpi)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "-webkit-image-set(url(\\"example.png\\") 1dpi)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "image-set(url(\\"example.png\\") 1dpcm)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "-webkit-image-set(url(\\"example.png\\") 1dpcm)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "image-set(url(example.png) 1dpcm, 'example.png' 2x)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "-webkit-image-set(url(example.png) 1dpcm, 'example.png' 2x)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "image-set('example.jpeg' 222dpi, url(example.png) 3.5x)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "-webkit-image-set('example.jpeg' 222dpi, url(example.png) 3.5x)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "image-set(linear-gradient(black, white) 1x)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "-webkit-image-set(linear-gradient(black, white) 1x)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "image-set(url(\\"example.png\\") 1x type(\\"image/png\\"))" should set the property value]
expected: FAIL
[e.style['background-image'\] = "-webkit-image-set(url(\\"example.png\\") 1x type(\\"image/png\\"))" should set the property value]
expected: FAIL
[e.style['background-image'\] = "image-set(url(example.png) type('image/png'))" should set the property value]
expected: FAIL
[e.style['background-image'\] = "-webkit-image-set(url(example.png) type('image/png'))" should set the property value]
expected: FAIL
[e.style['background-image'\] = "image-set(url(example.png) type('image/png') 1x)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "-webkit-image-set(url(example.png) type('image/png') 1x)" should set the property value]
expected: FAIL
[e.style['content'\] = "image-set(linear-gradient(black, white) 1x, 'example.png' 4x)" should set the property value]
expected: FAIL
[e.style['content'\] = "-webkit-image-set(linear-gradient(black, white) 1x, 'example.png' 4x)" should set the property value]
expected: FAIL
[e.style['content'\] = "image-set(url(\\"example.png\\") 192dpi, linear-gradient(black, white) 1x)" should set the property value]
expected: FAIL
[e.style['content'\] = "-webkit-image-set(url(\\"example.png\\") 192dpi, linear-gradient(black, white) 1x)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "image-set(url(foo))" should set the property value]
expected: FAIL
[e.style['background-image'\] = "-webkit-image-set(url(foo))" should set the property value]
expected: FAIL
[e.style['background-image'\] = "image-set(url(foo), url(bar) 1x)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "-webkit-image-set(url(foo), url(bar) 1x)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "image-set(url(foo) 1x, url(bar))" should set the property value]
expected: FAIL
[e.style['background-image'\] = "-webkit-image-set(url(foo) 1x, url(bar))" should set the property value]
expected: FAIL
[e.style['background-image'\] = "image-set(url(foo), url(bar))" should set the property value]
expected: FAIL
[e.style['background-image'\] = "-webkit-image-set(url(foo), url(bar))" should set the property value]
expected: FAIL
[e.style['background-image'\] = "image-set(url(foo) 1x, url(bar), url(baz) 2x)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "-webkit-image-set(url(foo) 1x, url(bar), url(baz) 2x)" should set the property value]
expected: FAIL
[e.style['content'\] = "image-set(url(\\"example.png\\") 1x)" should set the property value]
expected: FAIL
[e.style['content'\] = "-webkit-image-set(url(\\"example.png\\") 1x)" should set the property value]
expected: FAIL
[e.style['content'\] = "image-set(url(\\"example.png\\") 1x, \\"example.png\\" 3x)" should set the property value]
expected: FAIL
[e.style['content'\] = "-webkit-image-set(url(\\"example.png\\") 1x, \\"example.png\\" 3x)" should set the property value]
expected: FAIL
[e.style['border-image-source'\] = "image-set(url(\\"example.png\\") 1x)" should set the property value]
expected: FAIL
[e.style['border-image-source'\] = "-webkit-image-set(url(\\"example.png\\") 1x)" should set the property value]
expected: FAIL
[e.style['border-image-source'\] = "image-set(url(\\"example.png\\") 1x, \\"example.png\\" 3x)" should set the property value]
expected: FAIL
[e.style['border-image-source'\] = "-webkit-image-set(url(\\"example.png\\") 1x, \\"example.png\\" 3x)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "image-set(url(\\"example.png\\") calc(2x * 3))" should set the property value]
expected: FAIL
[e.style['background-image'\] = "-webkit-image-set(url(\\"example.png\\") calc(2x * 3))" should set the property value]
expected: FAIL
[e.style['background-image'\] = "image-set(url(\\"example.png\\") calc(1dppx * 1))" should set the property value]
expected: FAIL
[e.style['background-image'\] = "-webkit-image-set(url(\\"example.png\\") calc(1dppx * 1))" should set the property value]
expected: FAIL
[e.style['background-image'\] = "image-set(url(\\"example.png\\") calc(96dpi * 2))" should set the property value]
expected: FAIL
[e.style['background-image'\] = "-webkit-image-set(url(\\"example.png\\") calc(96dpi * 2))" should set the property value]
expected: FAIL
[e.style['background-image'\] = "image-set(url(\\"example.png\\") calc(1dpcm * 96/2.54))" should set the property value]
expected: FAIL
[e.style['background-image'\] = "-webkit-image-set(url(\\"example.png\\") calc(1dpcm * 96/2.54))" should set the property value]
expected: FAIL
[e.style['background-image'\] = "image-set(url(\\"example.png\\") 1x, url(\\"example.png\\") 2dppx, \\"example.png\\" 250dpi, \\"example.png\\" 1dpcm)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "-webkit-image-set(url(\\"example.png\\") 1x, url(\\"example.png\\") 2dppx, \\"example.png\\" 250dpi, \\"example.png\\" 1dpcm)" should set the property value]
expected: FAIL
[e.style['content'\] = "image-set(url(\\"example.png\\") 1dpi)" should set the property value]
expected: FAIL
[e.style['content'\] = "-webkit-image-set(url(\\"example.png\\") 1dpi)" should set the property value]
expected: FAIL
[e.style['content'\] = "image-set(url(\\"example.png\\") calc(1 * 96dpi))" should set the property value]
expected: FAIL
[e.style['content'\] = "-webkit-image-set(url(\\"example.png\\") calc(1 * 96dpi))" should set the property value]
expected: FAIL
[e.style['background-image'\] = "image-set(url(\\"example.png\\") 0x)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "-webkit-image-set(url(\\"example.png\\") 0x)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "image-set(url(\\"example.png\\") 0dppx)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "-webkit-image-set(url(\\"example.png\\") 0dppx)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "image-set(url(\\"example.png\\") 0dpi)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "-webkit-image-set(url(\\"example.png\\") 0dpi)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "image-set(url(\\"example.png\\") 0dpcm)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "-webkit-image-set(url(\\"example.png\\") 0dpcm)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "image-set(url(\\"example.png\\") calc(-1 * 1x))" should set the property value]
expected: FAIL
[e.style['background-image'\] = "-webkit-image-set(url(\\"example.png\\") calc(-1 * 1x))" should set the property value]
expected: FAIL
[e.style['background-image'\] = "image-set(url(\\"example.png\\") calc(1x + -1x))" should set the property value]
expected: FAIL
[e.style['background-image'\] = "-webkit-image-set(url(\\"example.png\\") calc(1x + -1x))" should set the property value]
expected: FAIL
[e.style['background-image'\] = "image-set(repeating-linear-gradient(red, blue 25%) 1x)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "-webkit-image-set(repeating-linear-gradient(red, blue 25%) 1x)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "image-set(radial-gradient(black, white) 1x)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "-webkit-image-set(radial-gradient(black, white) 1x)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "image-set(repeating-radial-gradient(red, blue 25%) 1x)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "-webkit-image-set(repeating-radial-gradient(red, blue 25%) 1x)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "image-set(conic-gradient(black, white) 1x)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "-webkit-image-set(conic-gradient(black, white) 1x)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "image-set(repeating-conic-gradient(red, blue 25%) 1x)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "-webkit-image-set(repeating-conic-gradient(red, blue 25%) 1x)" should set the property value]
expected: FAIL
[e.style['content'\] = "image-set(linear-gradient(black, white) 1x, url(\\"example.png\\") 4x)" should set the property value]
expected: FAIL
[e.style['content'\] = "-webkit-image-set(linear-gradient(black, white) 1x, url(\\"example.png\\") 4x)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "image-set(url(example.png) 1x type('image/jpeg'))" should set the property value]
expected: FAIL
[e.style['background-image'\] = "-webkit-image-set(url(example.png) 1x type('image/jpeg'))" should set the property value]
expected: FAIL

View file

@ -1,2 +0,0 @@
[image-set-type-unsupported-rendering-2.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[image-set-type-unsupported-rendering.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[image-set-zero-resolution-rendering-2.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[image-set-zero-resolution-rendering.html]
expected: FAIL

View file

@ -1,6 +0,0 @@
[cursor-valid.html]
[e.style['cursor'\] = "image-set(\\"https://example.com/\\" 1x) 5 6, grab" should set the property value]
expected: FAIL
[e.style['cursor'\] = "image-set(\\"https://example.com/\\" 1x, \\"https://example.com/highres\\" 2x) 5 6, grab" should set the property value]
expected: FAIL

View file

@ -1,90 +1,3 @@
[calc-infinity-nan-serialize-resolution.html]
['image-set(url("") calc(1x * NaN))' as a specified value should serialize as 'image-set(url("") calc(NaN * 1dppx))'.]
expected: FAIL
['image-set(url("") calc(1x * nan))' as a specified value should serialize as 'image-set(url("") calc(NaN * 1dppx))'.]
expected: FAIL
['image-set(url("") calc(1dppx * NaN))' as a specified value should serialize as 'image-set(url("") calc(NaN * 1dppx))'.]
expected: FAIL
['image-set(url("") calc(1dppx * infinity / infinity))' as a specified value should serialize as 'image-set(url("") calc(NaN * 1dppx))'.]
expected: FAIL
['image-set(url("") calc(1dppx * 0 * infinity))' as a specified value should serialize as 'image-set(url("") calc(NaN * 1dppx))'.]
expected: FAIL
['image-set(url("") calc(1dppx * (infinity + -infinity)))' as a specified value should serialize as 'image-set(url("") calc(NaN * 1dppx))'.]
expected: FAIL
['image-set(url("") calc(1dppx * (-infinity + infinity)))' as a specified value should serialize as 'image-set(url("") calc(NaN * 1dppx))'.]
expected: FAIL
['image-set(url("") calc(1dppx * (infinity - infinity)))' as a specified value should serialize as 'image-set(url("") calc(NaN * 1dppx))'.]
expected: FAIL
['image-set(url("") calc(1dppx * infinity))' as a specified value should serialize as 'image-set(url("") calc(infinity * 1dppx))'.]
expected: FAIL
['image-set(url("") calc(1dppx * -infinity))' as a specified value should serialize as 'image-set(url("") calc(-infinity * 1dppx))'.]
expected: FAIL
['image-set(url("") calc(1dppx * iNFinIty))' as a specified value should serialize as 'image-set(url("") calc(infinity * 1dppx))'.]
expected: FAIL
['image-set(url("") calc(1dppx * (infinity + infinity)))' as a specified value should serialize as 'image-set(url("") calc(infinity * 1dppx))'.]
expected: FAIL
['image-set(url("") calc(1dppx * (-infinity + -infinity)))' as a specified value should serialize as 'image-set(url("") calc(-infinity * 1dppx))'.]
expected: FAIL
['image-set(url("") calc(1dppx * 1/infinity))' as a specified value should serialize as 'image-set(url("") calc(0dppx))'.]
expected: FAIL
['image-set(url("") calc(1dppx * infinity * infinity))' as a specified value should serialize as 'image-set(url("") calc(infinity * 1dppx))'.]
expected: FAIL
['image-set(url("") calc(1dppx * -infinity * -infinity))' as a specified value should serialize as 'image-set(url("") calc(infinity * 1dppx))'.]
expected: FAIL
['image-set(url("") calc(1 * max(INFinity*3dppx, 0dppx)))' as a specified value should serialize as 'image-set(url("") calc(infinity * 1dppx))'.]
expected: FAIL
['image-set(url("") calc(1 * min(inFInity*4dppx, 0dppx)))' as a specified value should serialize as 'image-set(url("") calc(0dppx))'.]
expected: FAIL
['image-set(url("") calc(1 * max(nAn*2dppx, 0dppx)))' as a specified value should serialize as 'image-set(url("") calc(NaN * 1dppx))'.]
expected: FAIL
['image-set(url("") calc(1 * min(nan*3dppx, 0dppx)))' as a specified value should serialize as 'image-set(url("") calc(NaN * 1dppx))'.]
expected: FAIL
['image-set(url("") calc(1 * clamp(-INFINITY*0dppx, 0dppx, infiniTY*0dppx)))' as a specified value should serialize as 'image-set(url("") calc(0dppx))'.]
expected: FAIL
['image-set(url("") calc(1dppx * max(NaN, min(0,10))))' as a specified value should serialize as 'image-set(url("") calc(NaN * 1dppx))'.]
expected: FAIL
['image-set(url("") calc(1dppx * clamp(NaN, 0, 10)))' as a specified value should serialize as 'image-set(url("") calc(NaN * 1dppx))'.]
expected: FAIL
['image-set(url("") calc(1dppx * max(0, min(10, NaN))))' as a specified value should serialize as 'image-set(url("") calc(NaN * 1dppx))'.]
expected: FAIL
['image-set(url("") calc(1dppx * clamp(0, 10, NaN)))' as a specified value should serialize as 'image-set(url("") calc(NaN * 1dppx))'.]
expected: FAIL
['image-set(url("") calc(1dppx * max(0, min(NaN, 10))))' as a specified value should serialize as 'image-set(url("") calc(NaN * 1dppx))'.]
expected: FAIL
['image-set(url("") calc(1dppx * clamp(0, NaN, 10)))' as a specified value should serialize as 'image-set(url("") calc(NaN * 1dppx))'.]
expected: FAIL
['image-set(url("") calc(1dppx * clamp(-Infinity, 0, infinity)))' as a specified value should serialize as 'image-set(url("") calc(0dppx))'.]
expected: FAIL
['image-set(url("") calc(1dppx * clamp(-inFinity, infinity, 10)))' as a specified value should serialize as 'image-set(url("") calc(10dppx))'.]
expected: FAIL
['image-set(url("") calc(1 * clamp(-INFINITY*20dppx, 0dppx, infiniTY*10dppx)))' as a specified value should serialize as 'image-set(url("") calc(0dppx))'.]
expected: FAIL