Update web-platform-tests to revision 256b4685b8e702c14ed854347f23f4979edbfc8e

This commit is contained in:
WPT Sync Bot 2019-12-20 08:23:04 +00:00
parent bac9903fbe
commit 45c91aa0cb
134 changed files with 1297 additions and 426 deletions

View file

@ -35,9 +35,8 @@ registerPaint('box', class {
static get contextOptions() { return {alpha: true}; }
static get inputArguments() { return ['<color>']; }
paint(ctx, geom, properties, args) {
ctx.strokeStyle = args[0].toString();
ctx.lineWidth = 4;
ctx.strokeRect(20, 20, 60, 60);
ctx.fillStyle = args[0].toString();
ctx.fillRect(20, 20, 60, 60);
}
});