diff options
author | WPT Sync Bot <josh+wptsync@joshmatthews.net> | 2019-12-20 08:23:04 +0000 |
---|---|---|
committer | WPT Sync Bot <josh+wptsync@joshmatthews.net> | 2019-12-20 11:10:50 +0000 |
commit | 45c91aa0cbdc488fba2241eecaaa718094c2150e (patch) | |
tree | 9e527e4c43fcd4230af5f18507ad041129f7c85d /tests/wpt/web-platform-tests/css/css-paint-api/parse-input-arguments-006.https.html | |
parent | bac9903fbeed0a394a86c0091e727aada665433d (diff) | |
download | servo-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-006.https.html')
-rw-r--r-- | tests/wpt/web-platform-tests/css/css-paint-api/parse-input-arguments-006.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-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> |