<?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>20242</bug_id>
          
          <creation_ts>2008-07-31 08:31:09 -0700</creation_ts>
          <short_desc>On pageload, cursor position in an empty contenteditable element doesn&apos;t respect text-indent</short_desc>
          <delta_ts>2014-01-03 07:39:20 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>CSS</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>20129</dup_id>
          
          <bug_file_loc></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="Torsten Radtke">torsten.radtke</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>gur.trio</cc>
    
    <cc>michael.vm</cc>
    
    <cc>tabatkins</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>87498</commentid>
    <comment_count>0</comment_count>
    <who name="Torsten Radtke">torsten.radtke</who>
    <bug_when>2008-07-31 08:31:09 -0700</bug_when>
    <thetext>The position of the cursor when clicking on an empty element filled with the
:empty:before CSS rule ignores the CSS text-indent property. It is always drawn as if text-indent was 0. See the attached files for an example.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87499</commentid>
    <comment_count>1</comment_count>
      <attachid>22577</attachid>
    <who name="Torsten Radtke">torsten.radtke</who>
    <bug_when>2008-07-31 08:31:55 -0700</bug_when>
    <thetext>Created attachment 22577
Test case XML file</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87500</commentid>
    <comment_count>2</comment_count>
      <attachid>22578</attachid>
    <who name="Torsten Radtke">torsten.radtke</who>
    <bug_when>2008-07-31 08:32:21 -0700</bug_when>
    <thetext>Created attachment 22578
Test case CSS file</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>488029</commentid>
    <comment_count>3</comment_count>
    <who name="Tab Atkins">tabatkins</who>
    <bug_when>2011-10-20 17:29:43 -0700</bug_when>
    <thetext>Looks like a clearcut QoI bug.  Here&apos;s a smaller testcase:

&lt;!DOCTYPE html&gt;
&lt;p style=&quot;height: 50px; border: thin solid black; text-indent: 20px;&quot; contenteditable&gt;&lt;/p&gt;

When the page first loads, the cursor is at the left edge of the &lt;p&gt;.  As soon as you type anything, even if you then delete it, the cursor jumps to 20px away from the edge, respecting the text-indent.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>614556</commentid>
    <comment_count>4</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2012-05-02 12:55:08 -0700</bug_when>
    <thetext>See also: bug 20129, bug 20242.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>960882</commentid>
    <comment_count>5</comment_count>
    <who name="">gur.trio</who>
    <bug_when>2013-12-18 03:15:59 -0800</bug_when>
    <thetext>(In reply to comment #4)
&gt; See also: bug 20129, bug 20242.

Latest webkit and chrome its working. Please confirm so that we can close this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>962736</commentid>
    <comment_count>6</comment_count>
    <who name="">gur.trio</who>
    <bug_when>2013-12-24 00:58:01 -0800</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 20129 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>964096</commentid>
    <comment_count>7</comment_count>
    <who name="Torsten Radtke">torsten.radtke</who>
    <bug_when>2014-01-03 07:39:20 -0800</bug_when>
    <thetext>Works as expected in Safari Version 7.0.1 (9537.73.11)</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>22577</attachid>
            <date>2008-07-31 08:31:55 -0700</date>
            <delta_ts>2008-07-31 08:31:55 -0700</delta_ts>
            <desc>Test case XML file</desc>
            <filename>test.xml</filename>
            <type>application/xml</type>
            <size>178</size>
            <attacher name="Torsten Radtke">torsten.radtke</attacher>
            
              <data encoding="base64">PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPD94bWwtc3R5bGVzaGVldCB0
eXBlPSJ0ZXh0L2NzcyIgaHJlZj0idGVzdC5jc3MiPz4KPGJvb2sgeG1sbnM9Imh0dHA6Ly93d3cu
dzMub3JnLzE5OTkveGh0bWwiPgoJPHBhcmE+TG9yZW0gaXBzdW08L3BhcmE+Cgk8cGFyYSAvPgo8
L2Jvb2s+Cg==
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>22578</attachid>
            <date>2008-07-31 08:32:21 -0700</date>
            <delta_ts>2008-07-31 08:32:21 -0700</delta_ts>
            <desc>Test case CSS file</desc>
            <filename>test.css</filename>
            <type>text/plain</type>
            <size>224</size>
            <attacher name="Torsten Radtke">torsten.radtke</attacher>
            
              <data encoding="base64">Ym9vayB7CglkaXNwbGF5OmJsb2NrOwoJbWFyZ2luOjEwcHg7Cgktd2Via2l0LXVzZXItbW9kaWZ5
OnJlYWQtd3JpdGUtcGxhaW50ZXh0LW9ubHk7Cn0KCnBhcmEgewoJZGlzcGxheTpibG9jazsKCWNv
bG9yOnJnYmEoMCwgMCwgMCwgMSk7Cgl0ZXh0LWluZGVudDowLjVjbTsKfQpwYXJhOmVtcHR5OmJl
Zm9yZSB7Cgljb2xvcjpyZ2JhKDAsIDAsIDAsIDAuNSk7Cgljb250ZW50OiJFbXB0eSI7Cn0=
</data>

          </attachment>
      

    </bug>

</bugzilla>