aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/web-platform-tests/css/css-paint-api/parse-input-arguments-010.https.html
diff options
context:
space:
mode:
authorWPT Sync Bot <josh+wptsync@joshmatthews.net>2019-12-20 08:23:04 +0000
committerWPT Sync Bot <josh+wptsync@joshmatthews.net>2019-12-20 11:10:50 +0000
commit45c91aa0cbdc488fba2241eecaaa718094c2150e (patch)
tree9e527e4c43fcd4230af5f18507ad041129f7c85d /tests/wpt/web-platform-tests/css/css-paint-api/parse-input-arguments-010.https.html
parentbac9903fbeed0a394a86c0091e727aada665433d (diff)
downloadservo-45c91aa0cbdc488fba2241eecaaa718094c2150e.tar.gz
servo-45c91aa0cbdc488fba2241eecaaa718094c2150e.zip
Update web-platform-tests to revision 256b4685b8e702c14ed854347f23f4979edbfc8e
Diffstat (limited to 'tests/wpt/web-platform-tests/css/css-paint-api/parse-input-arguments-010.https.html')
-rw-r--r--tests/wpt/web-platform-tests/css/css-paint-api/parse-input-arguments-010.https.html7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/wpt/web-platform-tests/css/css-paint-api/parse-input-arguments-010.https.html b/tests/wpt/web-platform-tests/css/css-paint-api/parse-input-arguments-010.https.html
index 142ca0c5d5d..44bbab5b7f1 100644
--- a/tests/wpt/web-platform-tests/css/css-paint-api/parse-input-arguments-010.https.html
+++ b/tests/wpt/web-platform-tests/css/css-paint-api/parse-input-arguments-010.https.html
@@ -32,11 +32,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>