WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
UNCONFIRMED
33912
Text selection focus behavior differs between Win32 and MacOS
https://bugs.webkit.org/show_bug.cgi?id=33912
Summary
Text selection focus behavior differs between Win32 and MacOS
Brian S Ledbetter
Reported
2010-01-20 10:34:49 PST
Reproduction: 1) Create page with some text and an iframe. 2) Highlight text selection on parent page. 3) Click into IFrame (any click works, even ones that don't steal focus). Expected behavior: Selection becomes inactive but remains selected. Highlight changes to OS "inactive selection" color. Selection is still retrievable programatically. Expected behavior occurs on latest nightly on Win32 (selection remains, no DOM selection change events are fired, getSelectionAt returns selection). Actual behavior: Latest nightly on Mac OS X: selection highlight is removed without firing any DOM selection change events. getSelectionAt returns no selection. Issues: Behavior should be consistent across OSes. If MacOS wants to remove the selection, then when the selection changes, DOM selection change events should at least fire. Firefox 3.0-nightly, IE7, IE8, and Google Chrome (latest nightly) all match the Expected Behavior listed on all supported platforms. Have not tested regressions thoroughly but versions back to at least 528 exhibit this behavior.
Attachments
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug