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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 27 11:12:07 PDT 2010


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


Ojan Vafai <ojan at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[Chromium]                  |InlineTextBox::paint()
                   |InlineTextBox::paint()      |ignores the color property
                   |ignores the color property  |in rendering composition
                   |in rendering composition    |text.
                   |text.                       |
                 CC|                            |ap at webkit.org,
                   |                            |darin at apple.com,
                   |                            |mjs at apple.com,
                   |                            |oliver at apple.com




--- Comment #5 from Ojan Vafai <ojan at chromium.org>  2010-05-27 11:12:04 PST ---
CCing some people who've worked on this code before and removing the Chromium bit since it happens on Safari Windows as well.

Do you know why this bug only happens on Windows? On Mac, the marked text gets selected, but there's no visual indication of it.

I still don't understand why it's correct to not draw the background selection on marked text. It looks like that check was added back in due to bug 12594. But that bug doesn't explain why that behavior is correct.

TextEdit: Selecting during a composition shows no selection during the drag. But on mouseup, it confirms the composition, then shows a regular selection.
WordPad: Selecting during a composition confirms the composition on mousedown and then selection happens as normal.
WebKit nightly and Safari 4: Confirm the selection on mouse down, but don't select anything.

I don't see that there's a platform convention on Windows or Mac for selected, marked text, since no platform lets a user select it. I'm not a regular IME user though, so maybe there is some convention I'm missing.

The only way you can get selected IME text in WebKit is when the selection is set via JavaScript, right? It seems like we should render a normal selection background there. I wonder if we should confirm composition text when you set the selection as well.

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