Closed Bug 1613759 Opened 6 years ago Closed 6 years ago

[wpt-sync] Sync PR 21643 - Fix canvas invalidation when the content has offset from the element

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
mozilla75
Tracking Status
firefox75 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Xianzhu Wang <wangxianzhu@chromium.org> wrote:

Fix canvas invalidation when the content has offset from the element

The canvas content layer may have offset from the element. When we
invalidate a rect, the rect should be mapped from the element
coordinates to the content layer coordinates.

Bug: 840075
Change-Id: I58ac7f483c192a61d5c187cc1d6eb0a72aab0136
Reviewed-on: https://chromium-review.googlesource.com/2042258
WPT-Export-Revision: c307557757728fe069c26586367ad946e403c928

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

CI Results

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

Total 1 tests

Status Summary

Firefox

PASS: 1

Chrome

PASS: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d09b96d60d85 [wpt PR 21643] - Fix canvas invalidation when the content has offset from the element, a=testonly
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla75
You need to log in before you can comment on or make changes to this bug.