Closed Bug 2071062 Opened 2 months ago Closed 2 months ago

[wpt-sync] Sync PR 62581 - [HiC] Add tests for onpaint when removing elements

Categories

(Core :: Graphics: Canvas2D, task, P4)

task

Tracking

()

RESOLVED FIXED
158 Branch
Tracking Status
firefox158 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Attachments

(1 file)

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

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

Stephen Chenney <schenney@chromium.org> wrote:

[HiC] Add tests for onpaint when removing elements

Verify that the onpaint event fires when elements are removed from
the canvas subtree, and that the event reports the expected set of
changed elements.

  • When a drawable element is removed, the event fires with an empty
    changedElement list.
  • When a non-drawable element is removed, the event fires with the nearest
    drawable ancestor as the changed element.

Bug: 417556295
Change-Id: I9f6b9a2e30c2a7cef5b65d3b2f45b8c0394b3311
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8342807
Reviewed-by: Stefan Zager \<szager@chromium.org>
Auto-Submit: Stephen Chenney \<schenney@chromium.org>
Commit-Queue: Stephen Chenney \<schenney@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1695070}

Component: web-platform-tests → Graphics: Canvas2D
Product: Testing → Core
Attached file Notable wpt changes —

CI Results

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

Total 131 tests and 5 subtests

Status Summary

Firefox

OK : 2[GitHub] 123[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS : 12
FAIL : 8[GitHub] 201[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
TIMEOUT: 1
ERROR : 5
NOTRUN : 17

Chrome

OK : 2
PASS : 8

Safari

OK : 2
FAIL : 8

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

(See attachment for full changes)

Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 158 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: