[wpt-sync] Sync PR 62685 - [html-in-canvas] Fire paint events when nested canvases change
Categories
(Core :: Graphics: Canvas2D, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox158 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Attachments
(1 file)
|
69.26 KB,
text/plain
|
Details |
Sync web-platform-tests PR 62685 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/62685
Details from upstream follow.
Philip Rogers <pdr@chromium.org> wrote:
[html-in-canvas] Fire paint events when nested canvases change
When nested canvases change, or request paint, they should cause
ancestor paint events to fire as well. The only exception to this is
for canvas changes which occur during the canvas's own paint event.This patch fixes three bugs in this area:
- ShouldSkipPaintInvalidation returned true for layout subtree
canvases, which prevented nested layoutsubtree canvases from
invalidating when they were modified outside their paint event.- Canvas.requestPaint() did not mark the canvas for paint invalidation
which prevented ancestor canvases from firing paint events.- DidDraw has been updated to not invalidate for canvas changes made
during a paint event handler.Fixed: 556296445
Change-Id: I40933a21de9b00003bc6be03fe462f79390e21c8Reviewed-on: https://chromium-review.googlesource.com/8360469
WPT-Export-Revision: a19c627325f23cb0e0ad585ae8c93a326abf7cf1
| Assignee | ||
Updated•2 months ago
|
| Assignee | ||
Updated•2 months ago
|
| Assignee | ||
Updated•2 months ago
|
| Assignee | ||
Updated•2 months ago
|
| Assignee | ||
Updated•2 months ago
|
| Assignee | ||
Updated•2 months ago
|
| Assignee | ||
Updated•2 months ago
|
| Assignee | ||
Comment 1•2 months ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=91906
| Assignee | ||
Comment 2•2 months ago
|
||
CI Results
Ran 4 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 136 tests and 5 subtests
Status Summary
Firefox
OK : 127
PASS : 12
FAIL : 8[GitHub] 214[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
TIMEOUT: 1
ERROR : 1[GitHub] 6[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
NOTRUN : 17
Chrome
OK : 1
PASS : 4
FAIL : 4
Safari
FAIL : 8
ERROR : 1
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
(See attachment for full changes)
Comment 4•2 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/fa516aa985f9
https://hg.mozilla.org/mozilla-central/rev/71bc6b2bc8eb
Comment 5•2 months ago
|
||
| bugherder | ||
Description
•