Closed Bug 2070188 Opened 2 months ago Closed 2 months ago

[wpt-sync] Sync PR 62434 - [HiC] Allow negative width and height for src and dest rects

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])

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

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

Stephen Chenney <schenney@chromium.org> wrote:

[HiC] Allow negative width and height for src and dest rects

The spec says drawElementImage() should use the bounding rect
when given negative width or height. Implement this and add tests.

We need to check WebGL and WebGPU to see what they expect.

Bug: 512509721
Change-Id: Ieb41221d6e30a0daf53fe9cbcd463ef2a6a87807
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8265530
Commit-Queue: Stephen Chenney \<schenney@chromium.org>
Reviewed-by: Stefan Zager \<szager@chromium.org>
Reviewed-by: Philip Rogers \<pdr@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1692361}

Component: web-platform-tests → Graphics: Canvas2D
Product: Testing → Core

CI Results

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

Total 130 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 : 2[GitHub] 192[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
TIMEOUT: 1
ERROR : 4
NOTRUN : 10

Chrome

OK : 2
FAIL : 2

Safari

OK : 2
FAIL : 2

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Tests Disabled in Gecko Infrastructure

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.