[wpt-sync] Sync PR 29404 - Fix density corrected painting in DrawTiledBackground single-tile path
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox91 fixed)
Tracking | Status | |
---|---|---|
firefox91 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 29404 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/29404
Details from upstream follow.
b'Fredrik S\xc3\xb6derqvist <fs@opera.com>' wrote:
Fix density corrected painting in DrawTiledBackground single-tile path
GraphicsContext::DrawImage(...) (and related machinery like the various
Image::Draw implementation) have different requirements on the source
rect from GraphicsContext::DrawImageTiled(...) so the two code-paths in
DrawTiledBackground() need to use different variants of Image::Size()
when computing the intrinsic tile size.
This moves the single-tile path closer to that in PaintFastBottomLayer()
as well.The computation of tile scale is pushed into the generic path because it
is not used in the single-tile path (ComputeSubsetForBackground()
computes an equivalent there).Bug: 1220762
Change-Id: I039aedc62b84725ffd1683e701f0b9f410e76d06Reviewed-on: https://chromium-review.googlesource.com/2964279
WPT-Export-Revision: e0759d845add118e8ac0f207833b9fb29d180ac2
Assignee | ||
Comment 1•3 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=4b8725419e6e37dbfaefe79b15cca5c2099f4d62
Assignee | ||
Comment 2•3 years ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests
Status Summary
Firefox
PASS: 1
Chrome
FAIL: 1
Safari
FAIL: 1
Links
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d551f87efeac [wpt PR 29404] - Fix density corrected painting in DrawTiledBackground single-tile path, a=testonly
Comment 4•3 years ago
|
||
bugherder |
Description
•