diff options
Diffstat (limited to 'tests/wpt/web-platform-tests/css/css-paint-api/parse-input-arguments-002.https.html')
-rw-r--r-- | tests/wpt/web-platform-tests/css/css-paint-api/parse-input-arguments-002.https.html | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/wpt/web-platform-tests/css/css-paint-api/parse-input-arguments-002.https.html b/tests/wpt/web-platform-tests/css/css-paint-api/parse-input-arguments-002.https.html index 5c7b3aca048..c5975586e9b 100644 --- a/tests/wpt/web-platform-tests/css/css-paint-api/parse-input-arguments-002.https.html +++ b/tests/wpt/web-platform-tests/css/css-paint-api/parse-input-arguments-002.https.html @@ -34,11 +34,10 @@ try { registerPaint('geometry', class { paint(ctx, geom) { if (testsPassed) - ctx.strokeStyle = 'green'; + ctx.fillStyle = 'green'; else - ctx.strokeStyle = 'red'; - ctx.lineWidth = 4; - ctx.strokeRect(0, 0, geom.width, geom.height); + ctx.fillStyle = 'red'; + ctx.fillRect(0, 0, geom.width, geom.height); } }); </script> |