Update web-platform-tests to revision 401d9618fcda9dfbeac49b8055df98386f6118f1

This commit is contained in:
WPT Sync Bot 2020-06-23 08:20:40 +00:00
parent c76d1318f3
commit 260441296f
139 changed files with 1277 additions and 724 deletions

View file

@ -36,7 +36,7 @@ registerPaint('box', class {
static get inputArguments() { return ['<color>', '<length>']; }
paint(ctx, geom, properties, args) {
ctx.fillStyle = args[0].toString();
let size = args[1].toString();
let size = parseInt(args[1].toString());
ctx.fillRect(40, 40, size, size);
}
});