Closed Bug 334635 Opened 19 years ago Closed 19 years ago

caret is always drawn black

Categories

(Core :: Graphics, defect)

x86
All
defect
Not set
normal

Tracking

()

VERIFIED FIXED

People

(Reporter: masayuki, Assigned: mrbkap)

References

Details

(Whiteboard: cairo)

Attachments

(2 files)

bug 287813 was fixed and |nsThebesRenderingContext::InvertRect| was changed to use XOR. But on cairo build, the caret is always drawn by black, not invert the background.
Whiteboard: cairo
Attached file testcase (deleted) —
Attachment #218979 - Attachment is patch: false
Attachment #218979 - Attachment mime type: text/plain → text/html
And outline of focus has same issue.
We can reproduce this bug both on Win & Linux.
OS: Windows 2000 → All
Comment #2 is bug 326550. Are they the same problem (duplicate bugs)?
Attached patch Proposed fix (deleted) — Splinter Review
This makes us use the text frame's foreground color.
Assignee: nobody → mrbkap
Status: NEW → ASSIGNED
Attachment #219089 - Flags: superreview?(roc)
Attachment #219089 - Flags: review?(roc)
Attachment #219089 - Flags: superreview?(roc)
Attachment #219089 - Flags: superreview+
Attachment #219089 - Flags: review?(roc)
Attachment #219089 - Flags: review+
Fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Summary: caret is always drawn by black → caret is always drawn black
-> v.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: