Bug 142477 - formerly-readonly <input> doesn't display cursor when focused
Summary: formerly-readonly <input> doesn't display cursor when focused
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: WebKit Nightly Build
Hardware: Macintosh Intel OS X 10.11
: P2 Normal
Assignee: Nobody
URL: http://jsfiddle.net/2matzLja/1/
Keywords: HasReduction
Depends on:
Blocks:
 
Reported: 2015-03-09 03:36 PDT by Chris Rebert
Modified: 2016-02-07 15:57 PST (History)
0 users

See Also:


Attachments
Copy of JS Fiddle example (700 bytes, text/html)
2015-05-06 18:30 PDT, Chris Rebert
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Rebert 2015-03-09 03:36:29 PDT
Steps to reproduce:
1. Open http://jsfiddle.net/2matzLja/1/show/ in Safari 8.0.3
2. Double-click on the <input>. Note that a focus ring is displayed on it.

Expected result:
A text cursor should be displayed in the <input>, just as with a normal has-always-been-writeable <input>.

Actual result:
No text cursor is displayed in the <input>.
However, you can still type in the <input>, and as soon as you type a character into the <input>, the text cursor starts being displayed.

Other details:
The example's source code can be viewed at http://jsfiddle.net/2matzLja/1/
Original Bootstrap bug report: https://github.com/twbs/bootstrap/issues/16022
Related Chrome bug: https://code.google.com/p/chromium/issues/detail?id=465274
Comment 1 Chris Rebert 2015-05-06 18:30:56 PDT
Created attachment 252551 [details]
Copy of JS Fiddle example
Comment 2 Chris Rebert 2015-07-18 01:51:56 PDT
Also filed a Radar for this:

<rdar://problem/20090003>
Comment 3 Chris Rebert 2016-02-07 15:57:26 PST
Still reproduces in Safari 9.0.3