Update web-platform-tests to revision 3bbb55915a04548e70c63b7c143a83e0e9d3c5e7

This commit is contained in:
WPT Sync Bot 2019-04-01 22:33:23 -04:00
parent 3340214a29
commit b55cc798b6
100 changed files with 2036 additions and 3665 deletions

View file

@ -20,11 +20,12 @@ body {
const index = window.location.href.lastIndexOf('/');
const pathname = window.location.href.substring(0, index) +
'/resources/square20.png';
checkElement(entry, pathname, 'not_fully_visible', beforeRender);
checkElement(entry, pathname, 'not_fully_visible', '', beforeRender);
// Image will not be fully visible. It should start from the top left part
// of the document, excluding the margin, and then overflow.
checkRect(entry,
[100, document.documentElement.clientWidth, 200, document.documentElement.clientHeight]);
checkNaturalSize(entry, 20, 20);
})
);
observer.observe({entryTypes: ['element']});