<?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>13839</bug_id>
          
          <creation_ts>2007-05-23 05:24:00 -0700</creation_ts>
          <short_desc>[CSS] customize submit button, text-indent: -2px;</short_desc>
          <delta_ts>2008-02-13 03:15:38 -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>523.x (Safari 3)</version>
          <rep_platform>Mac (Intel)</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc>http://www.typography.nl/_phpwcms_133/index.php?login_en</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>HasReduction</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Robert">robert</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>robert</cc>
    
    <cc>webkit</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>9327</commentid>
    <comment_count>0</comment_count>
    <who name="Robert">robert</who>
    <bug_when>2007-05-23 05:24:00 -0700</bug_when>
    <thetext>• check http://www.typography.nl/_phpwcms_133/index.php?login_en
• look at the &apos;login&apos; button [&apos;l&apos; is tofar to the left]
• text in button uses [CSS] &apos;text-indent: -2px;&apos;. If not used in all other browsers, including IE6/win to far to the right.
• except Safari 2.0.4, it shows a standard button and Webkit 522+, it shows the text to far to the left.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9318</commentid>
    <comment_count>1</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2007-05-23 06:18:28 -0700</bug_when>
    <thetext>*** Bug 13840 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9279</commentid>
    <comment_count>2</comment_count>
    <who name="Dave Hyatt">hyatt</who>
    <bug_when>2007-05-23 13:52:41 -0700</bug_when>
    <thetext>I&apos;m not sure that this is a bug.  The site sets border and padding to 0... so of course a negative text indent will make the text stick out of the button...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8899</commentid>
    <comment_count>3</comment_count>
    <who name="Robert">robert</who>
    <bug_when>2007-05-29 00:27:00 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; I&apos;m not sure that this is a bug.  The site sets border and padding to 0... so
&gt; of course a negative text indent will make the text stick out of the button...
&gt; 

It happens ONLY in this browser!
All other browsers [even IE] do it correctly!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69953</commentid>
    <comment_count>4</comment_count>
    <who name="Robert Blaut">webkit</who>
    <bug_when>2008-02-09 14:49:41 -0800</bug_when>
    <thetext>(In reply to comment #3)
&gt; (In reply to comment #2)
&gt; &gt; I&apos;m not sure that this is a bug.  The site sets border and padding to 0... so
&gt; &gt; of course a negative text indent will make the text stick out of the button...
&gt; &gt; 
&gt; 
&gt; It happens ONLY in this browser!
&gt; All other browsers [even IE] do it correctly!
&gt; 

As Dave said above the behavior on the page is correct in Webkit. Also Opera behaves identically as Webkit. Firefox have problem with proper indentation text. Based on your page I create minimal test case to explain proper behavior.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69954</commentid>
    <comment_count>5</comment_count>
      <attachid>19023</attachid>
    <who name="Robert Blaut">webkit</who>
    <bug_when>2008-02-09 14:50:11 -0800</bug_when>
    <thetext>Created attachment 19023
minimal test case</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70503</commentid>
    <comment_count>6</comment_count>
    <who name="Robert">robert</who>
    <bug_when>2008-02-13 03:04:56 -0800</bug_when>
    <thetext>No Bug, but in the minimal test case it works fine in Webkit / Safari 3, but still not in for instance Camino, Opera all on a mac. Better find another workaround to solve this problem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70505</commentid>
    <comment_count>7</comment_count>
    <who name="Robert Blaut">webkit</who>
    <bug_when>2008-02-13 03:15:38 -0800</bug_when>
    <thetext>(In reply to comment #6)
&gt; No Bug, but in the minimal test case it works fine in Webkit / Safari 3, but
&gt; still not in for instance Camino, Opera all on a mac. Better find another
&gt; workaround to solve this problem.
&gt; 

I&apos;ve tested the test case against the latest Opera 9.50 snapshot and it doesn&apos;t show red on the page. However Opera shows small 1px black vertical dash. Camino uses the same engine as Firefox so based on comment #4 it isn&apos;t surprise the test fails also Camino.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>19023</attachid>
            <date>2008-02-09 14:50:11 -0800</date>
            <delta_ts>2008-02-09 14:50:11 -0800</delta_ts>
            <desc>minimal test case</desc>
            <filename>index.htm</filename>
            <type>text/html</type>
            <size>514</size>
            <attacher name="Robert Blaut">webkit</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWwgUFVCTElDICItLy9XM0MvL0RURCBYSFRNTCAxLjAgVHJhbnNpdGlvbmFs
Ly9FTiIgImh0dHA6Ly93d3cudzMub3JnL1RSL3hodG1sMS9EVEQveGh0bWwxLXRyYW5zaXRpb25h
bC5kdGQiPg0KPGh0bWwgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGh0bWwiPg0KPGhl
YWQ+DQoNCjx0aXRsZT5XaW5nZW5kZXIgSG92ZW5pZXIgQXJjaGl0ZWN0cyB8IGxvZ2luPC90aXRs
ZT4NCg0KICA8c3R5bGUgdHlwZT0idGV4dC9jc3MiPg0KICAgDQppbnB1dCB7DQoNCglwYWRkaW5n
OiAwOw0KCXRleHQtaW5kZW50OiAtM2VtOw0KCWNvbG9yOnJlZDsNCglmb250LWZhbWlseTogQWhl
bTsNCglib3JkZXI6MCBzb2xpZCByZWQgOw0KfQ0KICA8L3N0eWxlPg0KDQo8L2hlYWQ+DQo8Ym9k
eT4NCjxwPlRoZXJlIHNob3VsZCBiZSBOTyBSRUQgb24gdGhpcyBwYWdlPC9wPg0KPGlucHV0IHR5
cGU9InN1Ym1pdCIgdHlwZT0idGV4dCIgdmFsdWU9IlhYWCIgLz4NCg0KPC9ib2R5Pg0KPC9odG1s
Pg==
</data>

          </attachment>
      

    </bug>

</bugzilla>