mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Update web-platform-tests to revision 33c263fb308d1c3f6ac6d2590d7292317262819d
This commit is contained in:
parent
5bf00c07c2
commit
482fda3a78
524 changed files with 14686 additions and 3270 deletions
|
@ -0,0 +1,16 @@
|
|||
async_test(t => {
|
||||
const img = new Image();
|
||||
t.add_cleanup(() => img.remove());
|
||||
img.onloadstart = img.onprogress = img.onloadend = t.unreached_func("progress event fired");
|
||||
img.onload = t.step_func_done(e => {
|
||||
assert_true(e instanceof Event);
|
||||
assert_false(e instanceof ProgressEvent);
|
||||
});
|
||||
img.src = "/images/rrgg-256x256.png";
|
||||
document.body.append(img);
|
||||
}, "<img> does not support ProgressEvent or loadstart/progress/loadend");
|
||||
|
||||
test(t => {
|
||||
assert_equals(document.body.onloadend, undefined);
|
||||
assert_equals(window.onloadend, undefined);
|
||||
}, "onloadend is not exposed");
|
|
@ -58,8 +58,6 @@
|
|||
<img srcset='/images/green-1x1.png?e37a 50w, /images/green-16x16.png?e37a 51w' sizes='(min-width:0) min(1px, 100px)'>
|
||||
<img srcset='/images/green-1x1.png?e37b 50w, /images/green-16x16.png?e37b 51w' sizes='(min-width:0) max(-100px, 1px)'>
|
||||
<img srcset='/images/green-1x1.png?e38 50w, /images/green-16x16.png?e38 51w' sizes='(min-width:calc(0)) 1px'>
|
||||
<img srcset='/images/green-1x1.png?e38a 50w, /images/green-16x16.png?e38a 51w' sizes='(min-width:min(0, 200vw)) 1px'>
|
||||
<img srcset='/images/green-1x1.png?e38b 50w, /images/green-16x16.png?e38b 51w' sizes='(min-width:max(-200vw, 0)) 1px'>
|
||||
<img srcset='/images/green-1x1.png?e39 50w, /images/green-16x16.png?e39 51w' sizes='(min-width:0) 1px, 100vw'>
|
||||
<img srcset='/images/green-1x1.png?e40 50w, /images/green-16x16.png?e40 51w' sizes='(min-width:0) 1px, (min-width:0) 100vw, 100vw'>
|
||||
<img srcset='/images/green-1x1.png?e41 50w, /images/green-16x16.png?e41 51w' sizes='(min-width:0) 1px'>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue