Closed Bug 328390 Opened 19 years ago Closed 19 years ago

Selection color of images is backwards

Categories

(Core :: Graphics, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: pavlov, Assigned: pavlov)

References

()

Details

Attachments

(1 file)

Selection color of images is backwards. It currently draws a partially transparent image over the selected area. we could probably just rewrite this to draw a partially transparent rect instead.
*** Bug 328386 has been marked as a duplicate of this bug. ***
(In reply to comment #0) The "partially transparent rect" should respect the background-color of ::-moz-selection but override the alpha value.
Attached patch fixSplinter Review
with cairo we no longer need to create an image to draw the selection partially transparent so i've ifdefed out all the related code for doing that.
Assignee: nobody → pavlov
Status: NEW → ASSIGNED
Attachment #215105 - Flags: superreview?
Attachment #215105 - Flags: review?(vladimir)
Attachment #215105 - Flags: superreview? → superreview?(roc)
Comment on attachment 215105 [details] [diff] [review] fix you don't need Save()/Restore() as discussed on IRC
Attachment #215105 - Flags: superreview?(roc) → superreview+
oh, I think you want to add PR_TRUE for snapToPixels when you call Rectangle.
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: