Closed
Bug 1502023
Opened 7 years ago
Closed 7 years ago
canvas.js::clearRect doesn't work with transformation matrices
Categories
(DevTools :: Inspector, defect, P2)
DevTools
Inspector
Tracking
(firefox65 fixed)
RESOLVED
FIXED
Firefox 65
| Tracking | Status | |
|---|---|---|
| firefox65 | --- | fixed |
People
(Reporter: miker, Assigned: miker)
References
Details
Attachments
(3 files)
No description provided.
| Assignee | ||
Comment 1•7 years ago
|
||
| Assignee | ||
Comment 2•7 years ago
|
||
We call the following from flexbox.js.
clearRect(this.ctx, 8, 2, 81, 113, this.currentMatrix);
This **should** clear a section of the canvas taking any transforms into account.
Because of the way canvas.js::clearRect() is written it **always** draws an upright rectangle regardless of any transforms (see attachment 9019998 [details]).
With the attached path this issue is fixed (see attachment 9019999 [details]).
| Assignee | ||
Comment 3•7 years ago
|
||
Updated•7 years ago
|
Priority: -- → P2
Pushed by mratcliffe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8cdaa33486f4
canvas.js::clearRect doesn't work with transformation matrices r=gl
Comment 5•7 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox65:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 65
You need to log in
before you can comment on or make changes to this bug.
Description
•