Closed Bug 1701088 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 28250 - Add WPT tests for 2d canvas roundRect API

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
89 Branch
Tracking Status
firefox89 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 28250 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/28250
Details from upstream follow.

b'Justin Novosad <junov@chromium.org>' wrote:

Add WPT tests for 2d canvas roundRect API

Bug: 1190228
Change-Id: Ib404551e937b5f5bc096adf38f9baaf200f3cee2
Reviewed-on: https://chromium-review.googlesource.com/2780271
WPT-Export-Revision: 148c86041f9f827c659a10ba45c17275fbb2dc9a

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

CI Results

Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 40 tests and 1 subtests

Status Summary

Firefox

OK : 40
FAIL: 40

Chrome

OK : 40
PASS: 32
FAIL: 8

Safari

OK : 40
FAIL: 40

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/html/canvas/element/path-objects/2d.path.roundrect.1.radius.dompoint.html
Verify that when two radii are given to roundRect(), the first radius, specified as a DOMPoint, applies to the top-left and bottom-left corners.: FAIL (Chrome: PASS, Safari: FAIL)
/html/canvas/element/path-objects/2d.path.roundrect.1.radius.double.html
Verify that when one radius is given to roundRect(), specified as a double, it applies to all corners.: FAIL (Chrome: PASS, Safari: FAIL)
/html/canvas/element/path-objects/2d.path.roundrect.2.radii.1.dompoint.html
Verify that when two radii are given to roundRect(), the first radius, specified as a DOMPoint, applies to the top-left and bottom-right corners.: FAIL (Chrome: PASS, Safari: FAIL)
/html/canvas/element/path-objects/2d.path.roundrect.2.radii.1.double.html
Verify that when two radii are given to roundRect(), the first radius, specified as a double, applies to the top-left and bottom-right corners.: FAIL (Chrome: PASS, Safari: FAIL)
/html/canvas/element/path-objects/2d.path.roundrect.2.radii.2.dompoint.html
Verify that when two radii are given to roundRect(), the second radius, specified as a DOMPoint, applies to the top-right and bottom-left corners.: FAIL (Chrome: PASS, Safari: FAIL)
/html/canvas/element/path-objects/2d.path.roundrect.2.radii.2.double.html
Verify that when two radii are given to roundRect(), the second radius, specified as a double, applies to the top-right and bottom-left corners.: FAIL (Chrome: PASS, Safari: FAIL)
/html/canvas/element/path-objects/2d.path.roundrect.3.radii.1.dompoint.html
Verify that when three radii are given to roundRect(), the first radius, specified as a DOMPoint, applies to the top-left corner.: FAIL (Chrome: PASS, Safari: FAIL)
/html/canvas/element/path-objects/2d.path.roundrect.3.radii.1.double.html
Verify that when three radii are given to roundRect(), the first radius, specified as a double, applies to the top-left corner.: FAIL (Chrome: PASS, Safari: FAIL)
/html/canvas/element/path-objects/2d.path.roundrect.3.radii.2.dompoint.html
Verify that when three radii are given to roundRect(), the second radius, specified as a DOMPoint, applies to the top-right and bottom-left corners.: FAIL (Chrome: PASS, Safari: FAIL)
/html/canvas/element/path-objects/2d.path.roundrect.3.radii.2.double.html
Verify that when three radii are given to roundRect(), the second radius, specified as a double, applies to the top-right and bottom-left corners.: FAIL (Chrome: PASS, Safari: FAIL)
/html/canvas/element/path-objects/2d.path.roundrect.3.radii.3.dompoint.html
Verify that when three radii are given to roundRect(), the third radius, specified as a DOMPoint, applies to the bottom-right corner.: FAIL (Chrome: PASS, Safari: FAIL)
/html/canvas/element/path-objects/2d.path.roundrect.3.radii.3.double.html
Verify that when three radii are given to roundRect(), the third radius, specified as a double, applies to the bottom-right corner.: FAIL (Chrome: PASS, Safari: FAIL)
/html/canvas/element/path-objects/2d.path.roundrect.4.radii.1.dompoint.html
Verify that when four radii are given to roundRect(), the first radius, specified as a DOMPoint, applies to the top-left corner.: FAIL (Chrome: PASS, Safari: FAIL)
/html/canvas/element/path-objects/2d.path.roundrect.4.radii.1.double.html
Verify that when four radii are given to roundRect(), the first radius, specified as a double, applies to the top-left corner.: FAIL (Chrome: PASS, Safari: FAIL)
/html/canvas/element/path-objects/2d.path.roundrect.4.radii.2.dompoint.html
Verify that when four radii are given to roundRect(), the second radius, specified as a DOMPoint, applies to the top-right corner.: FAIL (Chrome: PASS, Safari: FAIL)
/html/canvas/element/path-objects/2d.path.roundrect.4.radii.2.double.html
Verify that when four radii are given to roundRect(), the second radius, specified as a double, applies to the top-right corner.: FAIL (Chrome: PASS, Safari: FAIL)
/html/canvas/element/path-objects/2d.path.roundrect.4.radii.3.dompoint.html
Verify that when four radii are given to roundRect(), the third radius, specified as a DOMPoint, applies to the bottom-right corner.: FAIL (Chrome: PASS, Safari: FAIL)
/html/canvas/element/path-objects/2d.path.roundrect.4.radii.3.double.html
Verify that when four radii are given to roundRect(), the third radius, specified as a double, applies to the bottom-right corner.: FAIL (Chrome: PASS, Safari: FAIL)
/html/canvas/element/path-objects/2d.path.roundrect.4.radii.4.dompoint.html
Verify that when four radii are given to roundRect(), the fourth radius, specified as a DOMPoint, applies to the bottom-left corner.: FAIL (Chrome: PASS, Safari: FAIL)
/html/canvas/element/path-objects/2d.path.roundrect.4.radii.4.double.html
Verify that when four radii are given to roundRect(), the fourth radius, specified as a double, applies to the bottom-left corner.: FAIL (Chrome: PASS, Safari: FAIL)
/html/canvas/element/path-objects/2d.path.roundrect.closed.html
Canvas test: 2d.path.roundrect.closed: FAIL (Chrome: PASS, Safari: FAIL)
/html/canvas/element/path-objects/2d.path.roundrect.end.1.html
Canvas test: 2d.path.roundrect.end.1: FAIL (Chrome: PASS, Safari: FAIL)
/html/canvas/element/path-objects/2d.path.roundrect.end.2.html
Canvas test: 2d.path.roundrect.end.2: FAIL (Chrome: PASS, Safari: FAIL)
/html/canvas/element/path-objects/2d.path.roundrect.end.3.html
Canvas test: 2d.path.roundrect.end.3: FAIL (Chrome: PASS, Safari: FAIL)
/html/canvas/element/path-objects/2d.path.roundrect.end.4.html
Canvas test: 2d.path.roundrect.end.4: FAIL (Chrome: PASS, Safari: FAIL)
/html/canvas/element/path-objects/2d.path.roundrect.negative.html
Canvas test: 2d.path.roundrect.negative: FAIL (Chrome: FAIL, Safari: FAIL)
/html/canvas/element/path-objects/2d.path.roundrect.newsubpath.html
Canvas test: 2d.path.roundrect.newsubpath: FAIL (Chrome: PASS, Safari: FAIL)
/html/canvas/element/path-objects/2d.path.roundrect.nonfinite.html
roundRect() with Infinity/NaN is ignored: FAIL (Chrome: FAIL, Safari: FAIL)
/html/canvas/element/path-objects/2d.path.roundrect.radius.intersecting.1.html
Check that roundRects with intersecting corner arcs are rendered correctly.: FAIL (Chrome: FAIL, Safari: FAIL)
/html/canvas/element/path-objects/2d.path.roundrect.radius.intersecting.2.html
Check that roundRects with intersecting corner arcs are rendered correctly.: FAIL (Chrome: FAIL, Safari: FAIL)
/html/canvas/element/path-objects/2d.path.roundrect.radius.none.html
Check that roundRect throws an IndexSizeError if radii is an empty array.: FAIL (Chrome: PASS, Safari: FAIL)
/html/canvas/element/path-objects/2d.path.roundrect.radius.toomany.html
Check that roundRect throws an IndeSizeError if radii has more than four items.: FAIL (Chrome: PASS, Safari: FAIL)
/html/canvas/element/path-objects/2d.path.roundrect.selfintersect.html
Canvas test: 2d.path.roundrect.selfintersect: FAIL (Chrome: PASS, Safari: FAIL)
/html/canvas/element/path-objects/2d.path.roundrect.winding.html
Canvas test: 2d.path.roundrect.winding: FAIL (Chrome: FAIL, Safari: FAIL)
/html/canvas/element/path-objects/2d.path.roundrect.zero.1.html
Canvas test: 2d.path.roundrect.zero.1: FAIL (Chrome: FAIL, Safari: FAIL)
/html/canvas/element/path-objects/2d.path.roundrect.zero.2.html
Canvas test: 2d.path.roundrect.zero.2: FAIL (Chrome: FAIL, Safari: FAIL)
/html/canvas/element/path-objects/2d.path.roundrect.zero.3.html
Canvas test: 2d.path.roundrect.zero.3: FAIL (Chrome: PASS, Safari: FAIL)
/html/canvas/element/path-objects/2d.path.roundrect.zero.4.html
Canvas test: 2d.path.roundrect.zero.4: FAIL (Chrome: FAIL, Safari: FAIL)
/html/canvas/element/path-objects/2d.path.roundrect.zero.5.html
Canvas test: 2d.path.roundrect.zero.5: FAIL (Chrome: PASS, Safari: FAIL)
/html/canvas/element/path-objects/2d.path.roundrect.zero.6.html
Canvas test: 2d.path.roundrect.zero.6: FAIL (Chrome: PASS, Safari: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ef9bcf0c2432
[wpt PR 28250] - Add WPT tests for 2d canvas roundRect API, a=testonly
https://hg.mozilla.org/integration/autoland/rev/dbaa1f8aeae6
[wpt PR 28250] - Update wpt metadata, a=testonly
Pushed by nbeleuzu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ad06dad76fa1
[wpt PR 28250] - Add WPT tests for 2d canvas roundRect API, a=testonly
https://hg.mozilla.org/integration/autoland/rev/349ef4f21764
[wpt PR 28250] - Update wpt metadata, a=testonly
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ccc79b01d7da
[wpt PR 28250] - Add WPT tests for 2d canvas roundRect API, a=testonly
https://hg.mozilla.org/integration/autoland/rev/b6cdf500af33
[wpt PR 28250] - Update wpt metadata, a=testonly
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f06310b48465
[wpt PR 28250] - Add WPT tests for 2d canvas roundRect API, a=testonly
https://hg.mozilla.org/integration/autoland/rev/5daa1bcf6b55
[wpt PR 28250] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 89 Branch
You need to log in before you can comment on or make changes to this bug.