Closed Bug 1388662 Opened 7 years ago Closed 7 years ago

Correct canvas transform in layers-free mode

Categories

(Core :: Graphics: WebRender, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla57
Tracking Status
firefox57 --- fixed

People

(Reporter: ethlin, Assigned: ethlin)

References

Details

Attachments

(1 file)

Current code seems to be lack of the computations of scaling[1]. So some reftests[2] show wrong canvas size.

[1] https://dxr.mozilla.org/mozilla-central/rev/a921bfb8a2cf3db4d9edebe9b35799a3f9d035da/layout/generic/nsHTMLCanvasFrame.cpp#438
[2] layout/reftests/w3c-css/submitted/images3/object-fit-fill-png-001c.html
Comment on attachment 8895283 [details]
Bug 1388662 - Correct canvas transform in layers-free mode.

https://reviewboard.mozilla.org/r/166472/#review171622
Attachment #8895283 - Flags: review?(mtseng) → review+
Pushed by ethlin@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8fad085b6143
Correct canvas transform in layers-free mode. r=mtseng
https://hg.mozilla.org/mozilla-central/rev/8fad085b6143
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla57
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: