[wpt-sync] Sync PR 44429 - Remove empty closed paths
Categories
(Core :: Graphics: Canvas2D, task, P4)
Tracking
()
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 44429 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/44429
Details from upstream follow.
Yi Xu <yiyix@google.com> wrote:
Remove empty closed paths
As discussed in the github issue,
https://github.com/whatwg/html/issues/1079, it's generally agreed to
skip drawing line caps for closed paths. This is a follow up cl of:
https://chromium-review.googlesource.com/c/chromium/src/+/4864061.In this cl, it verifies if each closed path is empty, then it removes
the empty closed subpaths from path. As the subpaths are removed, the
corresponding line caps are skipped.fix
Change-Id: Ic4a2f23470a7c1abcc5b9793cd100451db3a4ac1
Reviewed-on: https://chromium-review.googlesource.com/5274884
WPT-Export-Revision: fda7f52999b1cc0e76941cbd765ef72378ecc54a
| Assignee | ||
Comment 1•2 years ago
|
||
| Assignee | ||
Updated•2 years ago
|
Description
•