Closed
Bug 600120
Opened 14 years ago
Closed 14 years ago
fix canvas composite.uncovered.image tests
Categories
(Core :: Graphics: Canvas2D, defect)
Core
Graphics: Canvas2D
Tracking
()
RESOLVED
FIXED
People
(Reporter: vlad, Assigned: emk)
References
Details
Attachments
(2 files)
7.96 KB,
patch
|
vlad
:
review+
|
Details | Diff | Splinter Review |
5.68 KB,
patch
|
vlad
:
review+
vlad
:
approval2.0+
|
Details | Diff | Splinter Review |
These were only accidentally passing, because the code that I'm removing in bug 599698 caused us to draw a 0x0 rectangle with whatever the current operator was. If that was one of the unbounded ones, like these 4, the net result was that the entire canvas was cleared. Conveniently, "success" in these tests is transparent black. I suspect that the right thing to do is something similar to what Masatoshi mentions in bug 599698 comment 23: > Does OperatorAffectsUncoveredAreas function need to be restored? > (which was removed by bug 366283). See also bug 503283.
Assignee | ||
Comment 1•14 years ago
|
||
This patch should be applied on top of the patch of bug 599698.
Comment 2•14 years ago
|
||
Comment on attachment 479042 [details] [diff] [review] patch Asking for review on this patch: otherwise, it could easily get forgotten.
Attachment #479042 -
Flags: review?(vladimir)
Reporter | ||
Comment 3•14 years ago
|
||
Comment on attachment 479042 [details] [diff] [review] patch This looks good -- and yes, please do set r? on patches, or they're quite easy to miss :) Has this gone through the try server? If so, I'll land both this and the previous patch at the same time.
Attachment #479042 -
Flags: review?(vladimir) → review+
Assignee | ||
Comment 4•14 years ago
|
||
(In reply to comment #3) > Has this gone through the try server? If so, I'll land both this > and the previous patch at the same time. Sorry, I have no try server access. I tested it locally on Windows. All canvas mochitest passed.
Reporter | ||
Comment 5•14 years ago
|
||
So, this failed the Mac machines on tryserver, but I realized that's because roc/jeff fixed these operators on the Quartz surface. So if I remove the != Quartz surface checks, everything works great. I'll get this landed along with the previous patch, with that change.
Reporter | ||
Comment 6•14 years ago
|
||
Attachment #479569 -
Flags: review+
Attachment #479569 -
Flags: approval2.0+
Reporter | ||
Comment 7•14 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/ea4b83ed71a6
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Updated•13 years ago
|
Assignee: nobody → VYV03354
You need to log in
before you can comment on or make changes to this bug.
Description
•