Bug 12843 - Incorrect behaviour for select and input elements with "-webkit-user-select" property
Summary: Incorrect behaviour for select and input elements with "-webkit-user-select" ...
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: 420+
Hardware: All OS X 10.4
: P2 Normal
Assignee: Nobody
URL:
Keywords: HasReduction
Depends on:
Blocks:
 
Reported: 2007-02-21 11:07 PST by Tom Brown
Modified: 2011-05-03 07:35 PDT (History)
2 users (show)

See Also:


Attachments
Bug demonstration (886 bytes, text/html)
2007-02-21 11:08 PST, Tom Brown
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Brown 2007-02-21 11:07:02 PST
Certain settings of the "-webkit-user-select" property cause "input" and "select" elements to behave inconsistently, specifically when a local setting is overriding a more strict global setting. The "text" and "none" values override correctly and consistently, but the "ignore" and "auto" behave differently.

I believe the correct behavior would be consistency. If content within the input textbox can be selected, items within the select box should be selectable as well. A local setting of "auto" should allow each element to be selected based on it's element type, rather than on any parent setting.

webkit-user-select:none
  input: not selectable
  select: not selectable

webkit-user-select:ignore
  input: selectable
  select: not selectable

webkit-user-select:text
  input: selectable
  select: selectable

webkit-user-select:auto
  input: selectable
  select: not selectable
Comment 1 Tom Brown 2007-02-21 11:08:08 PST
Created attachment 13301 [details]
Bug demonstration
Comment 2 Ryosuke Niwa 2011-05-03 07:35:33 PDT
As far as I can tell by selecting all on the demo, the behavior is consistent now.