[wpt-sync] Sync PR 63519 - [html-in-canvas] Sync CanvasPaintEvent&ElementGeometryUpdateEvent IDL
Categories
(Core :: Graphics: Canvas2D, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 63519 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/63519
Details from upstream follow.
Philip Rogers <pdr@chromium.org> wrote:
[html-in-canvas] Sync CanvasPaintEvent&ElementGeometryUpdateEvent IDL
This patch syncs CanvasPaintEvent and ElementGeometryUpdateEvent
from the explainer:
- Added [Exposed=Window] (and [RuntimeEnabled=CanvasDrawElement])
- Added [SameObject, SaveSameObject] to CanvasPaintEvent.changedElements
- Added [SaveSameObject] to ElementGeometryUpdateEvent.elements
Change-Id: I39404b96dae965bef7dc8a5a216412d1dd852981
Reviewed-on: https://chromium-review.googlesource.com/8550257
WPT-Export-Revision: 53e809511c822403efcde2a13905a78732e3a9b4
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Comment 1•1 month ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=109474
| Assignee | ||
Comment 2•1 month ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 2 tests and 2 subtests
Status Summary
Firefox
OK : 1
FAIL : 3
ERROR : 1
NOTRUN: 7
Chrome
OK : 2
PASS : 10
Safari
OK : 1
FAIL : 3
ERROR : 1
NOTRUN: 7
Links
Details
New Tests That Don't Pass
- /html/canvas/element/manual/draw-element-image/canvas-transform-update-element-image.tentative.html [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR)- OffscreenCanvas drawElementImage(ElementImage) automatically updates element canvas transform by default:
FAIL(Chrome:PASS, Safari:FAIL) - OffscreenCanvas drawElementImage(ElementImage) updates element canvas transform with explicit {preserveElementGeometry: false}:
NOTRUN(Chrome:PASS, Safari:NOTRUN) - OffscreenCanvas drawElementImage(ElementImage) does not update element canvas transform with {preserveElementGeometry: true}:
NOTRUN(Chrome:PASS, Safari:NOTRUN) - OffscreenCanvas.clearElementGeometry(ElementImage) on main thread clears element canvas transform and dispatches elementgeometryupdate:
NOTRUN(Chrome:PASS, Safari:NOTRUN) - OffscreenCanvas.clearElementGeometry(Element) on main thread clears element canvas transform and dispatches elementgeometryupdate:
NOTRUN(Chrome:PASS, Safari:NOTRUN) - OffscreenCanvas draw and clear in the same turn processes updates in order and de-duplicates event.elements:
NOTRUN(Chrome:PASS, Safari:NOTRUN) - OffscreenCanvas clear and redraw in same turn processes updates in order:
NOTRUN(Chrome:PASS, Safari:NOTRUN) - OffscreenCanvas multiple clearElementGeometry calls in same turn batch and de-duplicate event.elements:
NOTRUN(Chrome:PASS, Safari:NOTRUN)
- OffscreenCanvas drawElementImage(ElementImage) automatically updates element canvas transform by default:
- /html/canvas/element/manual/draw-element-image/onpaint-changedElements.tentative.html [wpt.fyi]
- CanvasPaintEvent constructor and [SameObject] changedElements:
FAIL(Chrome:PASS, Safari:FAIL) - onpaint event should have a list of changed elements:
FAIL(Chrome:PASS, Safari:FAIL)
- CanvasPaintEvent constructor and [SameObject] changedElements:
Comment 4•25 days ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/464acec5f14b
https://hg.mozilla.org/mozilla-central/rev/7b919ac003b8
Description
•