[Webkit-unassigned] [Bug 37788] InlineTextBox::paint() ignores the color property in rendering composition text.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 2 12:19:28 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=37788





--- Comment #13 from James Su <suzhe at chromium.org>  2010-07-02 12:19:27 PST ---
(In reply to comment #12)
> (In reply to comment #11)
> > (In reply to comment #10)
> > > Please also refer to this duplicated bug report. I attached some screenshots there.
> > 
> > Looking at those screenshots, it sounds like you're saying that the correct behavior would be to have selected/marked text to have the same background color as selected/non-marked text. Is that right?
> 
> Actually, I don't care about whether these two selected background colors are same or not, as long as they are drawn correctly. IMHO, using the same color would be simpler and more consistent.

The current behavior is:
1. When the selection range covers the whole marked text, and there is no underline, then webkit draws the selection background correctly.
2. When the marked text has composition underline inside the selection range, then the selection background won't be drawn at all. That's exactly the behavior of current Safari.
3. When the marked text has no composition underline inside the selection range, and the selection range only covers part of the marked text, then webkit draws the selection foreground correctly but not the background, which causes completely wrong result.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list