<?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>63157</bug_id>
          
          <creation_ts>2011-06-22 11:03:03 -0700</creation_ts>
          <short_desc>REGRESSION (r89407): Text in search field in Safari&apos;s find banner is too low on Windows</short_desc>
          <delta_ts>2011-06-29 06:37:13 -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>Forms</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows 7</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar, PlatformOnly, Regression</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>61415</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Adam Roben (:aroben)">aroben</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>dglazkov</cc>
    
    <cc>hyatt</cc>
    
    <cc>mitz</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>tkent</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>425373</commentid>
    <comment_count>0</comment_count>
      <attachid>98200</attachid>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2011-06-22 11:03:03 -0700</bug_when>
    <thetext>Created attachment 98200
screenshot

To reproduce:

1. Go to any page
2. Press Ctrl-F to show the find banner
3. Type some text in the find banner&apos;s search field

The text is too low. See screenshot.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>425375</commentid>
    <comment_count>1</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2011-06-22 11:03:27 -0700</bug_when>
    <thetext>Looks like this started happening in r89407: http://trac.webkit.org/changeset/89407

Note that the search field contains a WebView with an &lt;input&gt; element.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>425380</commentid>
    <comment_count>2</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2011-06-22 11:04:09 -0700</bug_when>
    <thetext>&lt;rdar://problem/9656624&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>425499</commentid>
    <comment_count>3</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2011-06-22 12:59:15 -0700</bug_when>
    <thetext>r89407 was rolled out in r89460.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>425860</commentid>
    <comment_count>4</comment_count>
    <who name="Kent Tamura">tkent</who>
    <bug_when>2011-06-22 18:49:50 -0700</bug_when>
    <thetext>(In reply to comment #0)
&gt; Created an attachment (id=98200) [details]
&gt; screenshot

What OS version are you using?
I couldn&apos;t reproduce this issue with Safari 5.0.4 + WebKit with r89407 on Snow Leopard. The search field appearance in the screenshot looks different.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>425863</commentid>
    <comment_count>5</comment_count>
    <who name="Kent Tamura">tkent</who>
    <bug_when>2011-06-22 18:53:28 -0700</bug_when>
    <thetext>Ah, it&apos;s on Windows.  I see.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>425981</commentid>
    <comment_count>6</comment_count>
    <who name="Kent Tamura">tkent</who>
    <bug_when>2011-06-22 23:48:32 -0700</bug_when>
    <thetext>Does it have any additional CSS properties?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>426303</commentid>
    <comment_count>7</comment_count>
      <attachid>98372</attachid>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2011-06-23 10:55:57 -0700</bug_when>
    <thetext>Created attachment 98372
testcase

Here&apos;s a testcase. In r89407, you can see that the baseline of the text in the search field is below the border, while in ToT it is above the border.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>426851</commentid>
    <comment_count>8</comment_count>
    <who name="Kent Tamura">tkent</who>
    <bug_when>2011-06-24 05:22:39 -0700</bug_when>
    <thetext>(In reply to comment #7)
&gt; Created an attachment (id=98372) [details]
&gt; testcase
&gt; 
&gt; Here&apos;s a testcase. In r89407, you can see that the baseline of the text in the search field is below the border, while in ToT it is above the border.

Thank you!  It&apos;s very helpful.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>429433</commentid>
    <comment_count>9</comment_count>
    <who name="Kent Tamura">tkent</who>
    <bug_when>2011-06-28 22:37:19 -0700</bug_when>
    <thetext>The purpose of r89407 is to use the standard CSS rendering as possible, and I wanted to make RenderTextControlSingleLine honored paddings. However the testcase expects it ignores paddings.
So, I decided to introduce a special handling for type=search so that only type=search ignores paddings if the content box of &lt;input&gt; is smaller than the text height.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>98200</attachid>
            <date>2011-06-22 11:03:03 -0700</date>
            <delta_ts>2011-06-22 11:03:03 -0700</delta_ts>
            <desc>screenshot</desc>
            <filename>screenshot.png</filename>
            <type>image/png</type>
            <size>1619</size>
            <attacher name="Adam Roben (:aroben)">aroben</attacher>
            
              <data encoding="base64">iVBORw0KGgoAAAANSUhEUgAAAKAAAAAYCAMAAABKiAYHAAAAAXNSR0IArs4c6QAAAARnQU1BAACx
jwv8YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAwBQTFRF
ZGRkZWVlampqb29vd3d3enp6e3t7fHx8fn5+MmjEM2nFMmjNMmjZM2naWWnFWWnOMoLjWYPjWbr4
gWjEgmnFgmnaoptwo5xxo51yo592pJxypJ1zpJ50pJ91pp92pqB2pqB3hYWFhoaGh4eHiIiIiYmJ
l5eXnJycnZ2dqaWDq6aD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cR1PbPb7+SAuy0tc7O2trbbxTzt4gLBMICu7V67Wn5s2HXV7QuGKEh78KFbfjyo1p73
BIIUdHosTuRHPFq983nvAAW9k5+dYPRBe6/nLQUlIfpYVqwoLhsTuar+RYIvibKWCos7CjOldFfc
0OYIgtGtGNgyOueQE8FwHQPUhcFDd7nblxbkS7HByBn1uDS3ghMzfozRDDnUXXrZS3/OkMFUIa6Y
nJqswoWpWUP18BJxEiHMeolZI0M4hiMMw4LgxU7O6/WCYFKBIwmSiGBFIqeCFoba0YthLJmCcQOu
pSO12BB3zgNchJwi5Jz6K/l9TLWckG9LIcx6BitoeQU/pgoEL7h6OI6DDCb246L6WH0R3psgLurn
pGO0pgVvNCr18LIvGtUJjSQl/ptB40wGDzlZj8cjrEHfZqGL8cIJQpyCHwjSBBIyvrJvXKOiohKs
QTeTsQbLHW6WZYXfzE9un16h37MA54OhUEoQTPdJAVWURDCa7mLGTDWIrtz2iu7BIMinpj4NDQxF
PHkoP8rPoP68YnHfGaVSqT6rXHTyKA2V6SdZvIXNRsAc4kHwuAPOCGga8sWnkolkMubNmz+S9Vb4
3wTCTsIKO8n0muu2bgq6P/cCH/N6foG8HHi8/ZbjBQVtfPR91oePy8Xvx5NNJVanIFiyY53ovLpK
JmfX9dsONHS4Oimo8WaNyXQ4B1SK56ysPGISU3Ojoc3hAlBHe3NTk9XaKD1WMbebMmhu63A4BZBN
5vwBj0rWi3+d3vcAAAAASUVORK5CYII=
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>98372</attachid>
            <date>2011-06-23 10:55:57 -0700</date>
            <delta_ts>2011-06-23 10:55:57 -0700</delta_ts>
            <desc>testcase</desc>
            <filename>find-banner-search-field.html</filename>
            <type>text/html</type>
            <size>289</size>
            <attacher name="Adam Roben (:aroben)">aroben</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIEhUTUw+CjxodG1sPgo8aGVhZD4KICAgIDxzdHlsZT4KCiAgICBpbnB1dCB7CiAg
ICAgICAgLXdlYmtpdC1hcHBlYXJhbmNlOiBub25lOwogICAgICAgIGhlaWdodDogMjRweDsKICAg
ICAgICBib3JkZXItd2lkdGg6IDdweCA3cHggN3B4IDI2cHg7CiAgICAgICAgYm9yZGVyLXN0eWxl
OiBzb2xpZDsKICAgICAgICBmb250LXNpemU6IDExcHg7CiAgICB9CiAgICA8L3N0eWxlPgo8L2hl
YWQ+Cjxib2R5PgogICAgPGlucHV0IHR5cGU9c2VhcmNoIHZhbHVlPWZvbz4KPC9ib2R5Pgo8L2h0
bWw+Cg==
</data>

          </attachment>
      

    </bug>

</bugzilla>