<?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>136922</bug_id>
          
          <creation_ts>2014-09-18 07:52:37 -0700</creation_ts>
          <short_desc>REGRESSION (iOS 8): Contenteditable get broken after paste</short_desc>
          <delta_ts>2014-09-18 10:05:18 -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>528+ (Nightly build)</version>
          <rep_platform>iPhone / iPad</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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Piotr Jasiun">p.jasiun</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>enrica</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1035918</commentid>
    <comment_count>0</comment_count>
    <who name="Piotr Jasiun">p.jasiun</who>
    <bug_when>2014-09-18 07:52:37 -0700</bug_when>
    <thetext>Tested Safari, WebKit version 600.1.4 on iOS 8.

For testing use HTML:

	&lt;!DOCTYPE html&gt;
	&lt;html&gt;
		&lt;body&gt;
			&lt;div id=&quot;editor&quot; contenteditable=&quot;true&quot;&gt;
				&lt;p&gt;Lorem ipsum dolor.&lt;/p&gt;
			&lt;/div&gt;
		&lt;/body&gt;
	&lt;/html&gt;

1. Select any word by long-press.
2. Select &apos;copy&apos; from the context menu.
3. Put cursor anywhere in the contenteditable.
4. Open context menu by long-press and select &apos;paste&apos;.
5. Try to put cursor in any word in the editable.

Expected result: cursor is shown at the position.

Actual result: word is selected and &quot;No Replacements Found&quot; message is shown.

There was no such bug in the iOS 7.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1035945</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2014-09-18 10:05:18 -0700</bug_when>
    <thetext>&lt;rdar://problem/18381830&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>