mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update web-platform-tests to revision 78862c14a70cabb48c685144666912f08e726390
This commit is contained in:
parent
ce0b89d310
commit
1f5d8fedd4
2469 changed files with 193955 additions and 6210 deletions
|
@ -0,0 +1,25 @@
|
|||
<!doctype html>
|
||||
<title>img update the image data: fail to resolve URL</title>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<div id=log></div>
|
||||
|
||||
<img src="//[">
|
||||
<img srcset="//[">
|
||||
<img srcset="//[" src="/images/red.png">
|
||||
<img srcset="//[, /images/red.png">
|
||||
|
||||
<script>
|
||||
setup({explicit_done: true});
|
||||
|
||||
var expected = '//[';
|
||||
|
||||
onload = function() {
|
||||
[].forEach.call(document.images, function(img) {
|
||||
test(function() {
|
||||
assert_equals(img.currentSrc, expected);
|
||||
}, img.outerHTML);
|
||||
});
|
||||
done();
|
||||
};
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue