aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/web-platform-tests/css/css-paint-api/parse-input-arguments-006.https.html
diff options
context:
space:
mode:
Diffstat (limited to 'tests/wpt/web-platform-tests/css/css-paint-api/parse-input-arguments-006.https.html')
-rw-r--r--tests/wpt/web-platform-tests/css/css-paint-api/parse-input-arguments-006.https.html7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/wpt/web-platform-tests/css/css-paint-api/parse-input-arguments-006.https.html b/tests/wpt/web-platform-tests/css/css-paint-api/parse-input-arguments-006.https.html
index a6fcc16c5da..2fbbec77054 100644
--- a/tests/wpt/web-platform-tests/css/css-paint-api/parse-input-arguments-006.https.html
+++ b/tests/wpt/web-platform-tests/css/css-paint-api/parse-input-arguments-006.https.html
@@ -30,11 +30,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>