mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update web-platform-tests to revision ab64b78a8f6777a1d95d8d1d4bba9ccdbecf94ea
This commit is contained in:
parent
da36740f0b
commit
394aced19f
713 changed files with 12430 additions and 12632 deletions
|
@ -39,7 +39,7 @@ onload = function() {
|
|||
var expected = {wide:resolve(img.dataset.wide), narrow:resolve(img.dataset.narrow)};
|
||||
var current = iframe.className;
|
||||
var next = current === 'wide' ? 'narrow' : 'wide';
|
||||
var expect_change = expected[next].indexOf('broken.png') !== 0 && !('noChange' in img.dataset);
|
||||
var expect_change = expected[next].indexOf('broken.png') === -1 && !('noChange' in img.dataset);
|
||||
|
||||
test(function() {
|
||||
assert_equals(img.currentSrc, expected[current]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue