[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 11:23:51 PDT 2010


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


James Su <suzhe at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |suzhe at chromium.org




--- Comment #8 from James Su <suzhe at chromium.org>  2010-07-02 11:23:50 PST ---
(In reply to comment #3)
> Bono-san, do you know why we use a different selection background color for marked text than we do for non-marked text? That seems like the underlying bug to me, but I'm not a regular IME user, so I'm not sure what the standard expectation is.
> 
> What do IE/Firefox do in these cases?
> 
> By the way, how are you testing this? The only way I could hit this situation is if I wrote some IME text and then had JS programmatically set the selection. Is there a way a user can hit this bug in the absence of JavaScript?

An input method may change the selection when setting the composition (marked) text. Editor::setComposition() method support it. And you may refer to this document for details:
http://developer.apple.com/mac/library/documentation/Cocoa/Reference/ApplicationKit/Protocols/NSTextInput_Protocol/Reference/Reference.html#//apple_ref/occ/intfm/NSTextInput/setMarkedText:selectedRange:

However the selection range set by an input method should be completely inside the composition text.

-- 
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