<?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>35629</bug_id>
          
          <creation_ts>2010-03-02 22:18:09 -0800</creation_ts>
          <short_desc>[Chromium] Should remove paddings of Win/Linux chromium&apos;s buttons</short_desc>
          <delta_ts>2010-03-26 17:36:03 -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>CSS</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</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 name="Shinichiro Hamaji">hamaji</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>arv</cc>
    
    <cc>hyatt</cc>
    
    <cc>ojan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>195384</commentid>
    <comment_count>0</comment_count>
    <who name="Shinichiro Hamaji">hamaji</who>
    <bug_when>2010-03-02 22:18:09 -0800</bug_when>
    <thetext>Per discussion on Bug 35231 and http://code.google.com/p/chromium/issues/detail?id=1437 , let&apos;s remove the extra paddings which causes web compatibility issues.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>195386</commentid>
    <comment_count>1</comment_count>
      <attachid>49878</attachid>
    <who name="Shinichiro Hamaji">hamaji</who>
    <bug_when>2010-03-02 22:20:21 -0800</bug_when>
    <thetext>Created attachment 49878
Patch v1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>195387</commentid>
    <comment_count>2</comment_count>
    <who name="Shinichiro Hamaji">hamaji</who>
    <bug_when>2010-03-02 22:22:30 -0800</bug_when>
    <thetext>&gt; Created an attachment (id=49878) [details]
&gt; Patch v1

Or, should we remove buttonInternalPadding* even from RenderTheme ? David, could you give me your suggestion if you have any opinion about this?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>195388</commentid>
    <comment_count>3</comment_count>
      <attachid>49878</attachid>
    <who name="Shinichiro Hamaji">hamaji</who>
    <bug_when>2010-03-02 22:25:28 -0800</bug_when>
    <thetext>Comment on attachment 49878
Patch v1

cq- because this patch will break bunch of chromium&apos;s layout tests so I need to communicate with WebKit sheriff before I land this patch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>196780</commentid>
    <comment_count>4</comment_count>
      <attachid>49878</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-03-05 16:25:23 -0800</bug_when>
    <thetext>Comment on attachment 49878
Patch v1

OK.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>196813</commentid>
    <comment_count>5</comment_count>
    <who name="Ojan Vafai">ojan</who>
    <bug_when>2010-03-05 16:55:35 -0800</bug_when>
    <thetext>To give context for this. We&apos;ve found a number of sites whose layout breaks due to this extra internal padding. We originally added this to match Firefox since padding:0 buttons look pretty crappy without having any internal padding.

Chromium would like to run an experiment removing the padding and see if there&apos;s any fallout. We&apos;re hoping that not many sites use padding:0. If it turns out they do, then we&apos;ll probably revert this change. If they don&apos;t, we should consider making Safari Win also not having internal button padding.

Some sites that break with the internal padding:
http://topkayaker.net/TopKayakerShop/
http://www.qotsa.com/
http://catalinaexpress.com/
http://www.dekalb.k12.ga.us/
http://balkanweb.com/poll/pollsys/
http://www.indianmasala.com/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>197487</commentid>
    <comment_count>6</comment_count>
      <attachid>49878</attachid>
    <who name="Shinichiro Hamaji">hamaji</who>
    <bug_when>2010-03-09 00:24:12 -0800</bug_when>
    <thetext>Comment on attachment 49878
Patch v1

Clearing flags on attachment: 49878

Committed r55714: &lt;http://trac.webkit.org/changeset/55714&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>197488</commentid>
    <comment_count>7</comment_count>
    <who name="Shinichiro Hamaji">hamaji</who>
    <bug_when>2010-03-09 00:24:21 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>204875</commentid>
    <comment_count>8</comment_count>
    <who name="Erik Arvidsson">arv</who>
    <bug_when>2010-03-26 17:36:03 -0700</bug_when>
    <thetext>*** Bug 31703 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>49878</attachid>
            <date>2010-03-02 22:20:21 -0800</date>
            <delta_ts>2010-03-09 00:24:12 -0800</delta_ts>
            <desc>Patch v1</desc>
            <filename>bug-35629-20100303152020.patch</filename>
            <type>text/plain</type>
            <size>2296</size>
            <attacher name="Shinichiro Hamaji">hamaji</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1dlYkNvcmUvQ2hhbmdlTG9nIGIvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXgg
MDUyOGQ4Ny4uNDIwMDdmMiAxMDA2NDQKLS0tIGEvV2ViQ29yZS9DaGFuZ2VMb2cKKysrIGIvV2Vi
Q29yZS9DaGFuZ2VMb2cKQEAgLTEsMyArMSwxNiBAQAorMjAxMC0wMy0wMiAgU2hpbmljaGlybyBI
YW1hamkgIDxoYW1hamlAY2hyb21pdW0ub3JnPgorCisgICAgICAgIFJldmlld2VkIGJ5IE5PQk9E
WSAoT09QUyEpLgorCisgICAgICAgIFtDaHJvbWl1bV0gU2hvdWxkIHJlbW92ZSBwYWRkaW5ncyBv
ZiBXaW4vTGludXggY2hyb21pdW0ncyBidXR0b25zCisgIC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