[wpt-sync] Sync PR 62775 - [HiC] Correctly apply canvas scaling to ElementImage.(width|height)
Categories
(Core :: Graphics: Canvas2D, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox158 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Attachments
(1 file)
|
68.57 KB,
text/plain
|
Details |
Sync web-platform-tests PR 62775 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/62775
Details from upstream follow.
Stefan Zager <szager@chromium.org> wrote:
[HiC] Correctly apply canvas scaling to ElementImage.(width|height)
This makes the width and height values equal to the internal default
values for the dwidth and dheight parameters to drawElementImage, which
obey the invariant: drawElementImage with default dwidth/dheight and no
transform applied to the canvas context should draw the element with the
same on-screen proportions as it would appear were the element placed
outside the canvas with identical computed style.Bug: 456097302
Change-Id: I3b268ea39a94e8b8236f685f8fd5916404863c26Reviewed-on: https://chromium-review.googlesource.com/8423113
WPT-Export-Revision: 7ea7603eebc62e4f8ef93e4e257fc0f2aa0fec9e
| 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=94352
| 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 135 tests and 5 subtests
Status Summary
Firefox
OK : 125
PASS : 12
FAIL : 7[GitHub] 208[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
TIMEOUT: 1
ERROR : 2[GitHub] 7[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
NOTRUN : 1[GitHub] 18[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
Chrome
OK : 2
FAIL : 8
Safari
FAIL : 7
ERROR : 2
NOTRUN : 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/d50ee2cb5a6a
https://hg.mozilla.org/mozilla-central/rev/7e09280c882e
Description
•