<?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>213501</bug_id>
          
          <creation_ts>2020-06-22 22:37:39 -0700</creation_ts>
          <short_desc>contentEditable: Text caret is invisible on position relative elements</short_desc>
          <delta_ts>2022-06-01 18:51:23 -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>HTML Editing</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>216095</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Nikita Vasilyev">nvasilyev</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>jameshfisher</cc>
    
    <cc>joone</cc>
    
    <cc>megan_gardner</cc>
    
    <cc>rniwa</cc>
    
    <cc>scalesjordan</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>wenson_hsieh</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1665294</commentid>
    <comment_count>0</comment_count>
      <attachid>402536</attachid>
    <who name="Nikita Vasilyev">nvasilyev</who>
    <bug_when>2020-06-22 22:37:39 -0700</bug_when>
    <thetext>Created attachment 402536
Reduction

Steps:
1. Open the attached reduction HTML
2. Click on &quot;editable&quot; on the first line

Expected:
Text caret is visible.

Actual:
Text caret isn&apos;t visible. Works well on the second line.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1665296</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2020-06-22 22:38:40 -0700</bug_when>
    <thetext>&lt;rdar://problem/64625916&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1665297</commentid>
    <comment_count>2</comment_count>
    <who name="Nikita Vasilyev">nvasilyev</who>
    <bug_when>2020-06-22 22:39:41 -0700</bug_when>
    <thetext>This doesn&apos;t work in Chrome either but works well in Firefox.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1827713</commentid>
    <comment_count>3</comment_count>
    <who name="James Fisher">jameshfisher</who>
    <bug_when>2022-01-03 06:58:53 -0800</bug_when>
    <thetext>Can reproduce in Safari 15.1.

Corresponding Chromium bug: https://bugs.chromium.org/p/chromium/issues/detail?id=806904

Note, Nikita says this &quot;works well in Firefox&quot;, but it does not for me: the exact same bug exists in Firefox 95 on macOS, [filed here](https://bugzilla.mozilla.org/show_bug.cgi?id=1748239).  (It seems Gecko and Webkit both implemented the caret in the same buggy way ...)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1873289</commentid>
    <comment_count>4</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2022-06-01 06:15:42 -0700</bug_when>
    <thetext>This bug is still reproducible in Safari 15.5 and all other browsers have this broken behaviour. Thanks!</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>402536</attachid>
            <date>2020-06-22 22:37:39 -0700</date>
            <delta_ts>2020-06-22 22:37:39 -0700</delta_ts>
            <desc>Reduction</desc>
            <filename>tree-outline-editing.html</filename>
            <type>text/html</type>
            <size>459</size>
            <attacher name="Nikita Vasilyev">nvasilyev</attacher>
            
              <data encoding="base64">PGRpdiBzdHlsZT0icG9zaXRpb246IHJlbGF0aXZlIj4KICAgIDxkaXYgc3R5bGU9InBvc2l0aW9u
OiBhYnNvbHV0ZTsgbGVmdDogMDsgcmlnaHQ6IDA7IGhlaWdodDogMTAwJTsgYmFja2dyb3VuZDog
aHNsYSgyMDcsIDEwMCUsIDQwJSwgMC4xKSI+PC9kaXY+CiAgICA8ZGl2PkludmlzaWJsZSB0ZXh0
IGNhcmV0OiA8c3BhbiBjb250ZW50ZWRpdGFibGU9InRydWUiIHN0eWxlPSJwb3NpdGlvbjogcmVs
YXRpdmU7IGJhY2tncm91bmQ6IHdoaXRlOyBib3JkZXI6IDFweCBzb2xpZCAjOTk5OyI+ZWRpdGFi
bGU8L3NwYW4+PC9kaXY+CiAgICA8ZGl2PlZpc2libGUgdGV4dCBjYXJldDogPHNwYW4gY29udGVu
dGVkaXRhYmxlPSJ0cnVlIiBzdHlsZT0icG9zaXRpb246IGFic29sdXRlOyBiYWNrZ3JvdW5kOiB3
aGl0ZTsgYm9yZGVyOiAxcHggc29saWQgIzk5OTsiPmVkaXRhYmxlPC9zcGFuPjwvZGl2Pgo8L2Rp
dj4K
</data>

          </attachment>
      

    </bug>

</bugzilla>