<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>142477</bug_id>
          
          <creation_ts>2015-03-09 03:36:29 -0700</creation_ts>
          <short_desc>formerly-readonly &lt;input&gt; doesn&apos;t display cursor when focused</short_desc>
          <delta_ts>2022-08-30 14:03:46 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Forms</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Mac (Intel)</rep_platform>
          <op_sys>OS X 10.11</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</resolution>
          
          <see_also>http://code.google.com/p/chromium/issues/detail?id=465274</see_also>
          <bug_file_loc>http://jsfiddle.net/2matzLja/1/</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>HasReduction</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Chris Rebert">webkit</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>akeerthi</cc>
    
    <cc>ap</cc>
    
    <cc>bfulgham</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1075563</commentid>
    <comment_count>0</comment_count>
    <who name="Chris Rebert">webkit</who>
    <bug_when>2015-03-09 03:36:29 -0700</bug_when>
    <thetext>Steps to reproduce:
1. Open http://jsfiddle.net/2matzLja/1/show/ in Safari 8.0.3
2. Double-click on the &lt;input&gt;. Note that a focus ring is displayed on it.

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

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

Other details:
The example&apos;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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1092442</commentid>
    <comment_count>1</comment_count>
      <attachid>252551</attachid>
    <who name="Chris Rebert">webkit</who>
    <bug_when>2015-05-06 18:30:56 -0700</bug_when>
    <thetext>Created attachment 252551
Copy of JS Fiddle example</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1110357</commentid>
    <comment_count>2</comment_count>
    <who name="Chris Rebert">webkit</who>
    <bug_when>2015-07-18 01:51:56 -0700</bug_when>
    <thetext>Also filed a Radar for this:

&lt;rdar://problem/20090003&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1162793</commentid>
    <comment_count>3</comment_count>
    <who name="Chris Rebert">webkit</who>
    <bug_when>2016-02-07 15:57:26 -0800</bug_when>
    <thetext>Still reproduces in Safari 9.0.3</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1894749</commentid>
    <comment_count>4</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2022-08-30 02:11:35 -0700</bug_when>
    <thetext>I am not able to reproduce this bug in Safari 15.6.1 on macOS 12.5.1 using attached test case and it does show &quot;Typing Caret&quot; and  &quot;Editing - I&quot; cursor when on the field and it does disappear like all other browser as soon as you start typing.

It matches with all other browsers (Chrome Canary 107 and Firefox Nightly 106).

But I will not close this bug because I noticed strange behavior in case of Firefox where if I activate it and type something and then refresh browser, it will still keep what I have written in the field even within Private Window. I don&apos;t know whether it is web-spec and both Chrome and Safari are wrong or it is &quot;Firefox&quot; is wrong.

So I will leave it to someone else to confirm this bug (which is not this bug about) but still want to share updated testing results. Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1894917</commentid>
    <comment_count>5</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2022-08-30 14:03:46 -0700</bug_when>
    <thetext>Restoring form content on reload would be a browser behavior outside web specification purview. I don&apos;t think that we need to track that difference as a bug.

There is a long discussion in https://bugzilla.mozilla.org/show_bug.cgi?id=46845 which I didn&apos;t read.

Marking as Config Changed, as the original issue reported here no longer reproduces.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>252551</attachid>
            <date>2015-05-06 18:30:56 -0700</date>
            <delta_ts>2015-05-06 18:30:56 -0700</delta_ts>
            <desc>Copy of JS Fiddle example</desc>
            <filename>example-2matzLja-1.html</filename>
            <type>text/html</type>
            <size>700</size>
            <attacher name="Chris Rebert">webkit</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjxodG1sPgo8aGVhZD4KICA8bWV0YSBodHRwLWVxdWl2PSJjb250ZW50
LXR5cGUiIGNvbnRlbnQ9InRleHQvaHRtbDsgY2hhcnNldD1VVEYtOCI+CiAgPHRpdGxlPiAtIGpz
RmlkZGxlIGRlbW88L3RpdGxlPgoKPHNjcmlwdD4Kd2luZG93Lm9ubG9hZCA9IGZ1bmN0aW9uICgp
IHsKICBmdW5jdGlvbiBvbkRibENsaWNrKGUpIHsKICAgIHRoaXMucmVhZE9ubHkgPSBmYWxzZTsK
ICAgIGNvbnNvbGUubG9nKCJkb3VibGUgY2xpY2tlZCIpOwogIH0KCiAgZnVuY3Rpb24gb25CbHVy
KGUpIHsKICAgIHRoaXMucmVhZE9ubHkgPSB0cnVlOwogIH0KCiAgdmFyIGlucHV0MSA9IGRvY3Vt
ZW50LmdldEVsZW1lbnRCeUlkKCdpbnB1dDEnKTsKICBpbnB1dDEuYWRkRXZlbnRMaXN0ZW5lcign
ZGJsY2xpY2snLCBvbkRibENsaWNrKTsKICBpbnB1dDEuYWRkRXZlbnRMaXN0ZW5lcignYmx1cics
IG9uQmx1cik7Cn0KCjwvc2NyaXB0PgoKCjwvaGVhZD4KPGJvZHk+CiAgPGRpdiBzdHlsZT0ibWFy
Z2luOjVweDsiPgogICAgPHA+RG91YmxlLWNsaWNrIHRvIG1ha2Ugd3JpdGFibGUgKDxzdHJvbmc+
Y3Vyc29yIGxvc3Q8L3N0cm9uZz4gYnV0IHlvdSBzdGlsbCBjYW4gdHlwZSk8L3A+CiAgICA8aW5w
dXQgaWQ9ImlucHV0MSIgdHlwZT0idGV4dCIgcmVhZG9ubHk9InJlYWRvbmx5Ij4KICA8L2Rpdj4K
PC9ib2R5Pgo8L2h0bWw+Cg==
</data>

          </attachment>
      

    </bug>

</bugzilla>