<?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>20129</bug_id>
          
          <creation_ts>2008-07-22 03:00:17 -0700</creation_ts>
          <short_desc>Cursor position in empty editable element does not respect padding</short_desc>
          <delta_ts>2014-01-03 07:36:02 -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>HTML Editing</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac (Intel)</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <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>enrica</cc>
    
    <cc>gur.trio</cc>
    
    <cc>leviw</cc>
    
    <cc>michael.vm</cc>
    
    <cc>mitz</cc>
    
    <cc>rniwa</cc>
    
    <cc>shezbaig.wk</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>86633</commentid>
    <comment_count>0</comment_count>
    <who name="Torsten Radtke">torsten.radtke</who>
    <bug_when>2008-07-22 03:00:17 -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 padding property. It is always drawn in the top left corner of the box. See the attached files for an example.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86635</commentid>
    <comment_count>1</comment_count>
      <attachid>22423</attachid>
    <who name="Torsten Radtke">torsten.radtke</who>
    <bug_when>2008-07-22 03:00:53 -0700</bug_when>
    <thetext>Created attachment 22423
Test case XML file</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86637</commentid>
    <comment_count>2</comment_count>
      <attachid>22425</attachid>
    <who name="Torsten Radtke">torsten.radtke</who>
    <bug_when>2008-07-22 03:01:31 -0700</bug_when>
    <thetext>Created attachment 22425
Test case CSS file</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>613958</commentid>
    <comment_count>3</comment_count>
      <attachid>139743</attachid>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2012-05-01 21:54:33 -0700</bug_when>
    <thetext>Created attachment 139743
reduction</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>614553</commentid>
    <comment_count>4</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2012-05-02 12:54:44 -0700</bug_when>
    <thetext>See also: bug 20242, bug 21785.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>960883</commentid>
    <comment_count>5</comment_count>
    <who name="">gur.trio</who>
    <bug_when>2013-12-18 03:16:50 -0800</bug_when>
    <thetext>(In reply to comment #0)
&gt; The position of the cursor when clicking on an empty element filled with the :empty:before CSS rule ignores the CSS padding property. It is always drawn in the top left corner of the box. See the attached files for an example.

Latest webkit and chrome its working. Please confirm so that we can close this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>962730</commentid>
    <comment_count>6</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2013-12-24 00:11:12 -0800</bug_when>
    <thetext>Works as expected now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>962735</commentid>
    <comment_count>7</comment_count>
    <who name="">gur.trio</who>
    <bug_when>2013-12-24 00:56:46 -0800</bug_when>
    <thetext>*** Bug 21785 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>962737</commentid>
    <comment_count>8</comment_count>
    <who name="">gur.trio</who>
    <bug_when>2013-12-24 00:58:01 -0800</bug_when>
    <thetext>*** Bug 20242 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>964095</commentid>
    <comment_count>9</comment_count>
    <who name="Torsten Radtke">torsten.radtke</who>
    <bug_when>2014-01-03 07:36:02 -0800</bug_when>
    <thetext>Works as expected in Safari Version 7.0.1 (9537.73.11)</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="0"
              isprivate="0"
          >
            <attachid>22423</attachid>
            <date>2008-07-22 03:00:53 -0700</date>
            <delta_ts>2012-05-01 21:54:33 -0700</delta_ts>
            <desc>Test case XML file</desc>
            <filename>test.xml</filename>
            <type>application/xml</type>
            <size>135</size>
            <attacher name="Torsten Radtke">torsten.radtke</attacher>
            
              <data encoding="base64">PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPD94bWwtc3R5bGVzaGVldCB0
eXBlPSJ0ZXh0L2NzcyIgaHJlZj0idGVzdC5jc3MiPz4KPGRpdiB4bWxucz0iaHR0cDovL3d3dy53
My5vcmcvMTk5OS94aHRtbCIgLz4K
</data>

          </attachment>
          <attachment
              isobsolete="1"
              ispatch="0"
              isprivate="0"
          >
            <attachid>22425</attachid>
            <date>2008-07-22 03:01:31 -0700</date>
            <delta_ts>2012-05-01 21:54:33 -0700</delta_ts>
            <desc>Test case CSS file</desc>
            <filename>test.css</filename>
            <type>text/plain</type>
            <size>250</size>
            <attacher name="Torsten Radtke">torsten.radtke</attacher>
            
              <data encoding="base64">ZGl2IHsKCWRpc3BsYXk6YmxvY2s7Cgljb2xvcjpyZ2JhKDAsIDAsIDAsIDEpOwoJb3V0bGluZTox
cHggc29saWQgcmdiYSgxOTIsIDE5MiwgMTkyLCAxKTsKCW1hcmdpbjoxMHB4OyBwYWRkaW5nOjIw
cHggMHB4IDBweCAxMHB4OwoJLXdlYmtpdC11c2VyLW1vZGlmeTogcmVhZC13cml0ZS1wbGFpbnRl
eHQtb25seTsKfQpkaXY6ZW1wdHk6YmVmb3JlIHsKCWNvbG9yOnJnYmEoMCwgMCwgMCwgMC41KTsK
CWNvbnRlbnQ6IkVtcHR5IjsKfQoKCg==
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>139743</attachid>
            <date>2012-05-01 21:54:33 -0700</date>
            <delta_ts>2012-05-01 21:54:33 -0700</delta_ts>
            <desc>reduction</desc>
            <filename>bug20129.html</filename>
            <type>text/html</type>
            <size>248</size>
            <attacher name="Ryosuke Niwa">rniwa</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjxodG1sPgo8Ym9keT4KPHN0eWxlPgpkaXYgeyBib3JkZXI6MXB4IHNv
bGlkIHJnYmEoMTkyLCAxOTIsIDE5Mik7IHBhZGRpbmc6IDEwcHg7IH0KZGl2OmVtcHR5OmJlZm9y
ZSB7IGNvbnRlbnQ6IkVtcHR5IjsgfQo8L3N0eWxlPgo8ZGl2IGNvbnRlbnRlZGl0YWJsZT48L2Rp
dj4KPHNjcmlwdD4gZG9jdW1lbnQucXVlcnlTZWxlY3RvcignZGl2JykuZm9jdXMoKTsgPC9zY3Jp
cHQ+CjwvYm9keT4KPC9odG1sPgo=
</data>

          </attachment>
      

    </bug>

</bugzilla>