Closed Bug 1859366 Opened 1 year ago Closed 11 months ago

[wpt-sync] Sync PR 42566 - Fix PaintRenderingContext2D reset in highdpi

Categories

(Core :: Web Painting, task, P4)

task

Tracking

()

RESOLVED FIXED
122 Branch
Tracking Status
firefox122 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Jean-Philippe Gravel <jpgravel@chromium.org> wrote:

Fix PaintRenderingContext2D reset in highdpi

After resetting the canvas, the device pixel ratio scaling factor has
to be re-applied to the canvas, just like we do when first
instializing the context and when resetTransform is called.

Bug: 1484741
Change-Id: I13b772d68fff8e233d2a936e43b221f2419a4edd
Reviewed-on: https://chromium-review.googlesource.com/4943195
WPT-Export-Revision: d09c3a5a95bd61b97a513a89b958b219c9790c51

Component: web-platform-tests → Web Painting
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

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

Total 1 tests

Status Summary

Firefox

FAIL: 1

Chrome

PASS: 1

Safari

FAIL: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /css/css-paint-api/hidpi/canvas-reset.https.html [wpt.fyi]: FAIL [GitHub], SKIP [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-debug, Gecko-windows11-64-2009-qr-opt] (Chrome: PASS, Safari: FAIL)

Tests Disabled in Gecko Infrastructure

  • /css/css-paint-api/hidpi/canvas-reset.https.html [wpt.fyi]: FAIL [GitHub], SKIP [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-debug, Gecko-windows11-64-2009-qr-opt] (Chrome: PASS, Safari: FAIL)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6dbecfa2ba73 [wpt PR 42566] - Fix PaintRenderingContext2D reset in highdpi, a=testonly
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a4dd71c15740 [wpt PR 42566] - Fix PaintRenderingContext2D reset in highdpi, a=testonly
Status: NEW → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
Target Milestone: --- → 122 Branch
You need to log in before you can comment on or make changes to this bug.