This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 14383 - Investigate interaction between focus and selection
Summary: Investigate interaction between focus and selection
Status: NEW
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: HISTORICAL - HTML Editing APIs (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Aryeh Gregor
QA Contact: HTML Editing APIs spec bugbot
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-04 20:24 UTC by Ryosuke Niwa
Modified: 2012-12-04 02:03 UTC (History)
2 users (show)

See Also:


Attachments

Description Ryosuke Niwa 2011-10-04 20:24:51 UTC
Right now interactions between focus and selection are UA-dependent. Maybe it should stay that way but it's worth investigating.

e.g. WebKit automatically focuses the element with selection when the user types, moves caret, etc... whereas Trident and Gecko moves selection to wherever focus is.
Comment 1 Ryosuke Niwa 2011-10-04 20:26:31 UTC
This causes bugs like https://bugs.webkit.org/show_bug.cgi?id=38696 for WebKit
Comment 2 Aryeh Gregor 2011-10-05 17:41:31 UTC
Thanks for the report.  I'll look at some point, when I have the time.