<?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>190575</bug_id>
          
          <creation_ts>2018-10-15 05:13:53 -0700</creation_ts>
          <short_desc>[contenteditable] Click inside contenteditable block element when last children is non-editable moves caret into that non-editable.</short_desc>
          <delta_ts>2018-10-15 05:14:47 -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>Safari 12</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>macOS 10.13</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>k.litwinowicz</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>wenson_hsieh</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1469171</commentid>
    <comment_count>0</comment_count>
      <attachid>352311</attachid>
    <who name="">k.litwinowicz</who>
    <bug_when>2018-10-15 05:13:53 -0700</bug_when>
    <thetext>Created attachment 352311
Reproduced issue.

1. Open attached file.
2. Mouse click behind &apos;\non editable\&apos; text.

Expected:

Caret is placed right before text.

Actual:

Caret is placed at the right end of block element.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1469172</commentid>
    <comment_count>1</comment_count>
    <who name="">k.litwinowicz</who>
    <bug_when>2018-10-15 05:14:47 -0700</bug_when>
    <thetext>Same issue on Chromium:
https://bugs.chromium.org/p/chromium/issues/detail?id=895342</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>352311</attachid>
            <date>2018-10-15 05:13:53 -0700</date>
            <delta_ts>2018-10-15 05:13:53 -0700</delta_ts>
            <desc>Reproduced issue.</desc>
            <filename>test.html</filename>
            <type>text/html</type>
            <size>245</size>
            <attacher>k.litwinowicz</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjxodG1sIGxhbmc9ImVuIj4KPGhlYWQ+Cgk8bWV0YSBjaGFyc2V0PSJV
VEYtOCI+Cgk8dGl0bGU+VGl0bGU8L3RpdGxlPgo8L2hlYWQ+Cjxib2R5Pgo8ZGl2IGNvbnRlbnRl
ZGl0YWJsZT0idHJ1ZSI+Cgk8cD5UZXN0IDxzcGFuIGNvbnRlbnRlZGl0YWJsZT0iZmFsc2UiPjxz
cGFuPi9ub24gZWRpdGFibGUvPC9zcGFuPjwvc3Bhbj48L3A+Cgk8cD5UZXN0PC9wPgo8L2Rpdj4K
PC9ib2R5Pgo8L2h0bWw+Cgo=
</data>

          </attachment>
      

    </bug>

</bugzilla>