Bug 1017875 and 1018389 - Update WPT expectations.

This commit is contained in:
Josh Matthews 2015-02-17 10:21:16 -05:00
parent 426a2ee949
commit decb185148
10 changed files with 6 additions and 1824 deletions

View File

@ -24,7 +24,10 @@ reflectURL({
attribute: "src",
})
todo("srcset" in document.createElement("img"), "Should implement srcset")
reflectString({
element: document.createElement("img"),
attribute: "srcset",
})
reflectLimitedEnumerated({
element: document.createElement("img"),

View File

@ -768,51 +768,12 @@
[HTMLAnchorElement interface: document.createElement("a") must inherit property "ping" with the proper type (2)]
expected: FAIL
[HTMLPictureElement interface: existence and properties of interface object]
expected: FAIL
[HTMLPictureElement interface object length]
expected: FAIL
[HTMLPictureElement interface: existence and properties of interface prototype object]
expected: FAIL
[HTMLPictureElement interface: existence and properties of interface prototype object\'s "constructor" property]
expected: FAIL
[HTMLPictureElement must be primary interface of document.createElement("picture")]
expected: FAIL
[Stringification of document.createElement("picture")]
expected: FAIL
[HTMLImageElement interface: attribute srcset]
expected: FAIL
[HTMLImageElement interface: attribute sizes]
expected: FAIL
[HTMLImageElement interface: attribute currentSrc]
expected: FAIL
[HTMLImageElement interface: document.createElement("img") must inherit property "srcset" with the proper type (2)]
expected: FAIL
[HTMLImageElement interface: document.createElement("img") must inherit property "sizes" with the proper type (3)]
expected: FAIL
[HTMLImageElement interface: document.createElement("img") must inherit property "crossOrigin" with the proper type (4)]
expected: FAIL
[HTMLImageElement interface: document.createElement("img") must inherit property "currentSrc" with the proper type (12)]
expected: FAIL
[HTMLImageElement interface: new Image() must inherit property "srcset" with the proper type (2)]
expected: FAIL
[HTMLImageElement interface: new Image() must inherit property "sizes" with the proper type (3)]
expected: FAIL
[HTMLImageElement interface: new Image() must inherit property "crossOrigin" with the proper type (4)]
expected: FAIL
@ -981,18 +942,6 @@
[HTMLMediaElement interface: new Audio() must inherit property "videoTracks" with the proper type (41)]
expected: FAIL
[HTMLSourceElement interface: attribute srcset]
expected: FAIL
[HTMLSourceElement interface: attribute sizes]
expected: FAIL
[HTMLSourceElement interface: document.createElement("source") must inherit property "srcset" with the proper type (2)]
expected: FAIL
[HTMLSourceElement interface: document.createElement("source") must inherit property "sizes" with the proper type (3)]
expected: FAIL
[HTMLMediaElement interface: operation getStartDate()]
expected: FAIL

View File

@ -12,135 +12,6 @@
[img.tabIndex: IDL set to -2147483648 followed by IDL get]
expected: FAIL
[img.srcset: typeof IDL attribute]
expected: FAIL
[img.srcset: IDL get with DOM attribute unset]
expected: FAIL
[img.srcset: setAttribute() to "" followed by IDL get]
expected: FAIL
[img.srcset: setAttribute() to " \\0\\x01\\x02\\x03\\x04\\x05\\x06\\x07 \\b\\t\\n\\v\\f\\r\\x0e\\x0f \\x10\\x11\\x12\\x13\\x14\\x15\\x16\\x17 \\x18\\x19\\x1a\\x1b\\x1c\\x1d\\x1e\\x1f foo " followed by IDL get]
expected: FAIL
[img.srcset: setAttribute() to undefined followed by IDL get]
expected: FAIL
[img.srcset: setAttribute() to 7 followed by IDL get]
expected: FAIL
[img.srcset: setAttribute() to 1.5 followed by IDL get]
expected: FAIL
[img.srcset: setAttribute() to true followed by IDL get]
expected: FAIL
[img.srcset: setAttribute() to false followed by IDL get]
expected: FAIL
[img.srcset: setAttribute() to object "[object Object\]" followed by IDL get]
expected: FAIL
[img.srcset: setAttribute() to NaN followed by IDL get]
expected: FAIL
[img.srcset: setAttribute() to Infinity followed by IDL get]
expected: FAIL
[img.srcset: setAttribute() to -Infinity followed by IDL get]
expected: FAIL
[img.srcset: setAttribute() to "\\0" followed by IDL get]
expected: FAIL
[img.srcset: setAttribute() to null followed by IDL get]
expected: FAIL
[img.srcset: setAttribute() to object "test-toString" followed by IDL get]
expected: FAIL
[img.srcset: setAttribute() to object "test-valueOf" followed by IDL get]
expected: FAIL
[img.srcset: IDL set to "" followed by getAttribute()]
expected: FAIL
[img.srcset: IDL set to " \\0\\x01\\x02\\x03\\x04\\x05\\x06\\x07 \\b\\t\\n\\v\\f\\r\\x0e\\x0f \\x10\\x11\\x12\\x13\\x14\\x15\\x16\\x17 \\x18\\x19\\x1a\\x1b\\x1c\\x1d\\x1e\\x1f foo " followed by getAttribute()]
expected: FAIL
[img.srcset: IDL set to undefined followed by getAttribute()]
expected: FAIL
[img.srcset: IDL set to undefined followed by IDL get]
expected: FAIL
[img.srcset: IDL set to 7 followed by getAttribute()]
expected: FAIL
[img.srcset: IDL set to 7 followed by IDL get]
expected: FAIL
[img.srcset: IDL set to 1.5 followed by getAttribute()]
expected: FAIL
[img.srcset: IDL set to 1.5 followed by IDL get]
expected: FAIL
[img.srcset: IDL set to true followed by getAttribute()]
expected: FAIL
[img.srcset: IDL set to true followed by IDL get]
expected: FAIL
[img.srcset: IDL set to false followed by getAttribute()]
expected: FAIL
[img.srcset: IDL set to false followed by IDL get]
expected: FAIL
[img.srcset: IDL set to object "[object Object\]" followed by getAttribute()]
expected: FAIL
[img.srcset: IDL set to object "[object Object\]" followed by IDL get]
expected: FAIL
[img.srcset: IDL set to NaN followed by getAttribute()]
expected: FAIL
[img.srcset: IDL set to NaN followed by IDL get]
expected: FAIL
[img.srcset: IDL set to Infinity followed by getAttribute()]
expected: FAIL
[img.srcset: IDL set to Infinity followed by IDL get]
expected: FAIL
[img.srcset: IDL set to -Infinity followed by getAttribute()]
expected: FAIL
[img.srcset: IDL set to -Infinity followed by IDL get]
expected: FAIL
[img.srcset: IDL set to "\\0" followed by getAttribute()]
expected: FAIL
[img.srcset: IDL set to null followed by getAttribute()]
expected: FAIL
[img.srcset: IDL set to null followed by IDL get]
expected: FAIL
[img.srcset: IDL set to object "test-toString" followed by getAttribute()]
expected: FAIL
[img.srcset: IDL set to object "test-toString" followed by IDL get]
expected: FAIL
[img.srcset: IDL set to object "test-valueOf" followed by IDL get]
expected: FAIL
[img.crossOrigin: typeof IDL attribute]
expected: FAIL

View File

@ -1,8 +1,5 @@
[basic.html]
type: testharness
[<img srcset="/images/green-256x256.png 1x" data-expect="256">]
expected: FAIL
[<img srcset="/images/green-256x256.png 1.6x" data-expect="160">]
expected: FAIL
@ -15,9 +12,6 @@
[<img srcset="/images/green-256x256.png 9e99999999999999999999999x" data-expect="0">]
expected: FAIL
[<img srcset="/images/green-256x256.png 256w" sizes="256px" data-expect="256">]
expected: FAIL
[<img srcset="/images/green-256x256.png 512w" sizes="256px" data-expect="128">]
expected: FAIL

View File

@ -7,87 +7,33 @@
[img (empty src), onload, narrow]
expected: FAIL
[img (src only) broken image, onload, narrow]
expected: FAIL
[img (src only) valid image, onload, narrow]
expected: FAIL
[img (srcset 1 cand) broken image, onload, narrow]
expected: FAIL
[img (srcset 1 cand) valid image, onload, narrow]
expected: FAIL
[picture: source (max-width:500px) broken image, img broken image, onload, narrow]
expected: FAIL
[picture: source (max-width:500px) broken image, img broken image, resize to wide]
expected: TIMEOUT
[picture: source (max-width:500px) broken image, img valid image, onload, narrow]
expected: FAIL
[picture: source (max-width:500px) broken image, img valid image, resize to wide]
expected: TIMEOUT
[picture: source (max-width:500px) valid image, img broken image, onload, narrow]
expected: FAIL
[picture: source (max-width:500px) valid image, img broken image, resize to wide]
expected: TIMEOUT
[picture: source (max-width:500px) valid image, img valid image, onload, narrow]
expected: FAIL
[picture: source (max-width:500px) valid image, img valid image, resize to wide]
expected: TIMEOUT
[picture: same URL in source (max-width:500px) and img, onload, narrow]
expected: FAIL
[img (no src), onload, wide]
expected: FAIL
[img (empty src), onload, wide]
expected: FAIL
[img (src only) broken image, onload, wide]
expected: FAIL
[img (src only) valid image, onload, wide]
expected: FAIL
[img (srcset 1 cand) broken image, onload, wide]
expected: FAIL
[img (srcset 1 cand) valid image, onload, wide]
expected: FAIL
[picture: source (max-width:500px) broken image, img broken image, onload, wide]
expected: FAIL
[picture: source (max-width:500px) broken image, img broken image, resize to narrow]
expected: TIMEOUT
[picture: source (max-width:500px) broken image, img valid image, onload, wide]
expected: FAIL
[picture: source (max-width:500px) broken image, img valid image, resize to narrow]
expected: TIMEOUT
[picture: source (max-width:500px) valid image, img broken image, onload, wide]
expected: FAIL
[picture: source (max-width:500px) valid image, img broken image, resize to narrow]
expected: TIMEOUT
[picture: source (max-width:500px) valid image, img valid image, onload, wide]
expected: FAIL
[picture: source (max-width:500px) valid image, img valid image, resize to narrow]
expected: TIMEOUT
[picture: same URL in source (max-width:500px) and img, onload, wide]
expected: FAIL

View File

@ -3,12 +3,6 @@
[src removed]
expected: FAIL
[srcset set]
expected: FAIL
[srcset changed]
expected: FAIL
[srcset removed]
expected: FAIL
@ -51,54 +45,6 @@
[crossorigin use-credentials to anonymous]
expected: FAIL
[inserted into picture]
expected: FAIL
[removed from picture]
expected: FAIL
[parent is picture, previous source inserted]
expected: FAIL
[parent is picture, previous source removed]
expected: FAIL
[parent is picture, previous source has srcset set]
expected: FAIL
[parent is picture, previous source has srcset changed]
expected: FAIL
[parent is picture, previous source has srcset removed]
expected: FAIL
[parent is picture, previous source has sizes set]
expected: FAIL
[parent is picture, previous source has sizes changed]
expected: FAIL
[parent is picture, previous source has sizes removed]
expected: FAIL
[parent is picture, previous source has media set]
expected: FAIL
[parent is picture, previous source has media changed]
expected: FAIL
[parent is picture, previous source has media removed]
expected: FAIL
[parent is picture, previous source has type set]
expected: FAIL
[parent is picture, previous source has type changed]
expected: FAIL
[parent is picture, previous source has type removed]
expected: FAIL
[crossorigin state not changed: empty to anonymous]
expected: FAIL
@ -108,3 +54,5 @@
[crossorigin state not changed: use-credentials to USE-CREDENTIALS]
expected: FAIL
[picture is inserted]
expected: FAIL

View File

@ -9,84 +9,18 @@
[",,,"]
expected: FAIL
[" data:,a 1x "]
expected: FAIL
["\\t\\tdata:,a\\t\\t1x\\t\\t"]
expected: FAIL
["\\n\\ndata:,a\\n\\n1x\\n\\n"]
expected: FAIL
["\\v\\vdata:,a\\v\\v1x\\v\\v"]
expected: FAIL
["\\f\\fdata:,a\\f\\f1x\\f\\f"]
expected: FAIL
["\\r\\rdata:,a\\r\\r1x\\r\\r"]
expected: FAIL
["\\x0e\\x0edata:,a\\x0e\\x0e1x\\x0e\\x0e"]
expected: FAIL
["\\x0f\\x0fdata:,a\\x0f\\x0f1x\\x0f\\x0f"]
expected: FAIL
["\\x10\\x10data:,a\\x10\\x101x\\x10\\x10"]
expected: FAIL
["data:,a"]
expected: FAIL
["data:,a "]
expected: FAIL
["data:,a ,"]
expected: FAIL
["data:,a,"]
expected: FAIL
["data:,a, "]
expected: FAIL
["data:,a,,,"]
expected: FAIL
["data:,a,, , "]
expected: FAIL
[" data:,a"]
expected: FAIL
[",,,data:,a"]
expected: FAIL
[" , ,,data:,a"]
expected: FAIL
["\xc2\xa0data:,a"]
expected: FAIL
["data:,a\xc2\xa0"]
expected: FAIL
["data:,a 1x"]
expected: FAIL
["data:,a 1x "]
expected: FAIL
["data:,a 1x,"]
expected: FAIL
["data:,a ( , data:,b 1x, ), data:,c"]
expected: FAIL
["data:,a ((( , data:,b 1x, ), data:,c"]
expected: FAIL
["data:,a [ , data:,b 1x, \], data:,c"]
expected: FAIL
@ -120,9 +54,6 @@
["data:,a /*, data:,b, data:,c */"]
expected: FAIL
["data:,a //, data:,b"]
expected: FAIL
["data:,a foo"]
expected: FAIL
@ -153,12 +84,6 @@
["data:,a 1x 1w"]
expected: FAIL
["data:,a 1w 1h"]
expected: FAIL
["data:,a 1h 1w"]
expected: FAIL
["data:,a 1h 1h"]
expected: FAIL
@ -357,12 +282,6 @@
["data:,a \xef\xbb\xbf1w" (leading U+FEFF)]
expected: FAIL
["data:,a 0x"]
expected: FAIL
["data:,a -0x"]
expected: FAIL
["data:,a 1x -0x"]
expected: FAIL
@ -372,18 +291,6 @@
["data:,a 1x -1x"]
expected: FAIL
["data:,a 1e0x"]
expected: FAIL
["data:,a 1E0x"]
expected: FAIL
["data:,a 1e-1x"]
expected: FAIL
["data:,a 1.5e1x"]
expected: FAIL
["data:,a -x"]
expected: FAIL
@ -396,21 +303,12 @@
["data:,a 1.x"]
expected: FAIL
["data:,a .5x"]
expected: FAIL
["data:,a .5e1x"]
expected: FAIL
["data:,a 1x 1.5e1x"]
expected: FAIL
["data:,a 1x 1e1.5x"]
expected: FAIL
["data:,a 1.0x"]
expected: FAIL
["data:,a 1x 1.0x"]
expected: FAIL

View File

@ -1,44 +1,4 @@
[select-an-image-source.html]
type: testharness
["data:,a 1x, data:,b 1x"]
expected: FAIL
["data:,a , data:,b 1x"]
expected: FAIL
["data:,a 1x, data:,b"]
expected: FAIL
["data:,a 1w, data:,b 1w"]
expected: FAIL
["data:,a 1w 1h, data:,b 1w"]
expected: FAIL
["data:,a 1w, data:,b 1w 1h"]
expected: FAIL
["data:,a 1w 1h, data:,b 1w 2h"]
expected: FAIL
["data:,a 1w 2h, data:,b 1w 1h"]
expected: FAIL
["data:,a , data:,b"]
expected: FAIL
["data:,a foo, data:,b bar"]
expected: FAIL
["data:,a 1w, data:,b 1x" sizes="1px"]
expected: FAIL
["data:,a 1x, data:,b 1w" sizes="1px"]
expected: FAIL
["data:,a 1w, data:,b 2x" sizes="0.5px"]
expected: FAIL
["data:,a 2x, data:,b 1w" sizes="0.5px"]
expected: FAIL

View File

@ -6,144 +6,18 @@
[<img src="" data-expect="">]
expected: FAIL
[<img src="data:,a" data-expect="data:,a">]
expected: FAIL
[<img srcset="" src="data:,a" data-expect="data:,a">]
expected: FAIL
[<img srcset="data:,b" src="data:,a" data-expect="data:,b">]
expected: FAIL
[<img src="data:,a" srcset="data:,b" data-expect="data:,b"><!-- srcset after src -->]
expected: FAIL
[<img src="data:,a" srcset="data:,b 1x" data-expect="data:,b">]
expected: FAIL
[<img src="data:,a" srcset="data:,b 1.0x" data-expect="data:,b">]
expected: FAIL
[<img src="data:,a" srcset="data:,b 1e0x" data-expect="data:,b">]
expected: FAIL
[<img src="data:,a" srcset="data:,b 10000w" sizes="1px" data-expect="data:,b">]
expected: FAIL
[<img src="data:,a" srcset="data:,b 10000w, data:,c 10000x" sizes="1px" data-expect="data:,b">]
expected: FAIL
[<img src="data:,a" srcset="data:,b 10000x, data:,c 10000w" sizes="1px" data-expect="data:,b">]
expected: FAIL
[<img src="data:,a" srcset="data:,b 1w" sizes="10000px" data-expect="data:,b">]
expected: FAIL
[<img src="data:,a" srcset="data:,b 1w, data:,c 0.0001x" sizes="10000px" data-expect="data:,b">]
expected: FAIL
[<img src="data:,a" srcset="data:,b 0.0001x, data:,c 1w" sizes="10000px" data-expect="data:,b">]
expected: FAIL
[<img srcset="data:,a" data-expect="data:,a">]
expected: FAIL
[<picture>foo<img src="data:,a" data-expect="data:,a"></picture>]
expected: FAIL
[<picture><!--foo--><img src="data:,a" data-expect="data:,a"></picture>]
expected: FAIL
[<picture><br><img src="data:,a" data-expect="data:,a"></picture>]
expected: FAIL
[<picture><p></p><img src="data:,a" data-expect="data:,a"></picture>]
expected: FAIL
[<picture><video><source srcset="data:,b"></video><img src="data:,a" data-expect="data:,a"></picture>]
expected: FAIL
[<picture><span><source srcset="data:,b"></span><img src="data:,a" data-expect="data:,a"></picture>]
expected: FAIL
[<picture><svg><source srcset="data:,b"></source></svg><img src="data:,a" data-expect="data:,a"></picture>]
expected: FAIL
[<picture><svg></svg><source srcset="data:,b"><img src="data:,a" data-expect="data:,b"></picture>]
expected: FAIL
[<picture><svg><font></font><source srcset="data:,b"></source></svg><img src="data:,a" data-expect="data:,a"></picture>]
expected: FAIL
[<picture><svg><!--<font face> tag breaks out of svg--></svg><font face=""></font><source srcset="data:,b"><img src="data:,a" data-expect="data:,b"></picture>]
expected: FAIL
[<picture><img src="data:,a"><img src="data:,b" data-expect="data:,b"></picture>]
expected: FAIL
[<picture><source><img src="data:,a" data-expect="data:,a"></picture>]
expected: FAIL
[<picture><source src="data:,b"><img src="data:,a" data-expect="data:,a"></picture>]
expected: FAIL
[<picture><source srcset=""><img src="data:,a" data-expect="data:,a"></picture>]
expected: FAIL
[<picture><source srcset=", ,"><img src="data:,a" data-expect="data:,a"></picture>]
expected: FAIL
[<picture><source srcset="data:,b 1x 1x"><img src="data:,a" data-expect="data:,a"></picture>]
expected: FAIL
[<picture><source srcset="data:,b" media=""><img src="data:,a" data-expect="data:,b"></picture>]
expected: FAIL
[<picture><source srcset="data:,b" media="all"><img src="data:,a" data-expect="data:,b"></picture>]
expected: FAIL
[<picture><source srcset="data:,b" media="all and (min-width:0)"><img src="data:,a" data-expect="data:,b"></picture>]
expected: FAIL
[<picture><source srcset="data:,b" media="all and !"><img src="data:,a" data-expect="data:,a"></picture>]
expected: FAIL
[<picture><source srcset="data:,b" media="all and (!)"><img src="data:,a" data-expect="data:,a"></picture>]
expected: FAIL
[<picture><source srcset="data:,b" media="not all"><img src="data:,a" data-expect="data:,a"></picture>]
expected: FAIL
[<picture><source srcset="data:,b" media="not all and (min-width:0)"><img src="data:,a" data-expect="data:,a"></picture>]
expected: FAIL
[<picture><source srcset="data:,b" media="not all and (max-width:0)"><img src="data:,a" data-expect="data:,b"></picture>]
expected: FAIL
[<picture><source srcset="data:,b" media="not all and !"><img src="data:,a" data-expect="data:,a"></picture>]
expected: FAIL
[<picture><source srcset="data:,b" media="not all and (!)"><img src="data:,a" data-expect="data:,a"></picture>]
expected: FAIL
[<picture><source srcset="data:,b" media="all, !"><img src="data:,a" data-expect="data:,b"></picture>]
expected: FAIL
[<picture><source srcset="data:,b" media=","><img src="data:,a" data-expect="data:,a"></picture>]
expected: FAIL
[<picture><source srcset="data:,b" media=", all"><img src="data:,a" data-expect="data:,b"></picture>]
expected: FAIL
[<picture><source srcset="data:,b" type=""><img src="data:,a" data-expect="data:,b"></picture>]
expected: FAIL
[<picture><source srcset="data:,b" type=" "><img src="data:,a" data-expect="data:,b"></picture>]
expected: FAIL
[<picture><source srcset="data:,b" type="image/gif"><img src="data:,a" data-expect="data:,b"></picture>]
expected: FAIL
[<picture><source srcset="data:,b" type=" image/gif"><img src="data:,a" data-expect="data:,b"></picture>]
expected: FAIL
@ -162,108 +36,11 @@
[<picture><source srcset="data:,b" type="image/gif;encodings=foobar"><img src="data:,a" data-expect="data:,b"></picture>]
expected: FAIL
[<picture><source srcset="data:,b" type="image/png"><img src="data:,a" data-expect="data:,b"></picture>]
expected: FAIL
[<picture><source srcset="data:,b" type="image/jpeg"><img src="data:,a" data-expect="data:,b"></picture>]
expected: FAIL
[<picture><source srcset="data:,b" type="image/svg+xml"><img src="data:,a" data-expect="data:,b"></picture>]
expected: FAIL
[<picture><source srcset="data:,b" type="image/x-icon"><img src="data:,a" data-expect="data:,b"></picture>]
expected: FAIL
[<picture><source srcset="data:,b" type="text/xml"><img src="data:,a" data-expect="data:,a"></picture>]
expected: FAIL
[<picture><source srcset="data:,b" type="text/html"><img src="data:,a" data-expect="data:,a"></picture>]
expected: FAIL
[<picture><source srcset="data:,b" type="text/plain"><img src="data:,a" data-expect="data:,a"></picture>]
expected: FAIL
[<picture><source srcset="data:,b" type="text/css"><img src="data:,a" data-expect="data:,a"></picture>]
expected: FAIL
[<picture><source srcset="data:,b" type="video/mp4"><img src="data:,a" data-expect="data:,a"></picture>]
expected: FAIL
[<picture><source srcset="data:,b" type="video/ogg"><img src="data:,a" data-expect="data:,a"></picture>]
expected: FAIL
[<picture><source srcset="data:,b" type="video/webm"><img src="data:,a" data-expect="data:,a"></picture>]
expected: FAIL
[<picture><source srcset="data:,b" type="unknown/unknown"><img src="data:,a" data-expect="data:,a"></picture>]
expected: FAIL
[<picture><source srcset="data:,b" type="application/octet-stream"><img src="data:,a" data-expect="data:,a"></picture>]
expected: FAIL
[<picture><source srcset="data:,b" type="application/x-shockwave-flash"><img src="data:,a" data-expect="data:,a"></picture>]
expected: FAIL
[<picture><source srcset="data:,b" type="image\\gif"><img src="data:,a" data-expect="data:,a"></picture>]
expected: FAIL
[<picture><source srcset="data:,b" type="gif"><img src="data:,a" data-expect="data:,a"></picture>]
expected: FAIL
[<picture><source srcset="data:,b" type=".gif"><img src="data:,a" data-expect="data:,a"></picture>]
expected: FAIL
[<picture><source srcset="data:,b" type="*"><img src="data:,a" data-expect="data:,a"></picture>]
expected: FAIL
[<picture><source srcset="data:,b" type="*/*"><img src="data:,a" data-expect="data:,a"></picture>]
expected: FAIL
[<picture><source srcset="data:,b" type="image/*"><img src="data:,a" data-expect="data:,a"></picture>]
expected: FAIL
[<picture><source srcset="data:,b" type=","><img src="data:,a" data-expect="data:,a"></picture>]
expected: FAIL
[<picture><source srcset="data:,b" type="image/gif, image/png"><img src="data:,a" data-expect="data:,a"></picture>]
expected: FAIL
[<picture><source srcset="data:,b" type="image/gif image/png"><img src="data:,a" data-expect="data:,a"></picture>]
expected: FAIL
[<picture><source srcset="data:,b" type="image/foobarbaz"><img src="data:,a" data-expect="data:,a"></picture>]
expected: FAIL
[<picture><img src="data:,a" data-expect="data:,a">foo</picture>]
expected: FAIL
[<picture><img src="data:,a" data-expect="data:,a"><br></picture>]
expected: FAIL
[<picture><img src="data:,a" data-expect="data:,a"><!--foo--></picture>]
expected: FAIL
[<picture><img src="data:,a" data-expect="data:,a"><img src="data:,b"></picture>]
expected: FAIL
[<picture><img data-expect=""><img src="data:,b"></picture>]
expected: FAIL
[<picture><img src="data:,a" data-expect="data:,a"><source srcset="data:,b"></picture>]
expected: FAIL
[<picture><img data-expect=""><source srcset="data:,b"></picture>]
expected: FAIL
[<picture><span><source srcset="data:,b"><img data-expect=""></span></picture>]
expected: FAIL
[<picture><span><source srcset="data:,b"><img src="data:,a" data-expect="data:,a"></span></picture>]
expected: FAIL
[<picture><source srcset="data:,b"><span><img src="data:,a" data-expect="data:,a"></span></picture>]
expected: FAIL
[<picture><source srcset="data:,b"><img data-expect="data:,b"></picture>]
expected: FAIL