<button> sets padding-top: 2px and padding-bottom: 3px by default while <input type="button" sets it to 0, 0 and we center the text using the available space. This results in different baseline text position in same cases.
Created attachment 222249 [details] Patch
Comment on attachment 222249 [details] Patch EWS testing for MountainLion.
Comment on attachment 222249 [details] Patch Attachment 222249 [details] did not pass mac-ews (mac): Output: http://webkit-queues.appspot.com/results/6515840526581760 New failing tests: fast/forms/button-sizes.html fast/overflow/scroll-nested-positioned-layer-in-overflow.html fast/forms/control-restrict-line-height.html tables/mozilla/bugs/bug2479-3.html tables/mozilla/bugs/bug2479-2.html fast/forms/button-style-color.html editing/selection/3690719.html fast/replaced/replaced-breaking.html fast/forms/input-button-sizes.html fast/css/margin-top-bottom-dynamic.html fast/forms/button-table-styles.html tables/mozilla/bugs/bug1188.html fast/forms/validation-message-appearance.html http/tests/navigation/javascriptlink-frames.html tables/mozilla/collapsing_borders/bug41262-4.html fast/html/details-replace-summary-child.html fast/css/continuationCrash.html fast/text/textIteratorNilRenderer.html editing/selection/3690703-2.html fast/forms/file/input-file-re-render.html fast/forms/input-value.html fast/forms/input-appearance-height.html fast/forms/button-text-transform.html tables/mozilla/bugs/bug2479-4.html fast/forms/button-positioned.html editing/selection/3690703.html fast/forms/form-element-geometry.html fast/html/details-replace-text.html fast/dom/HTMLTextAreaElement/reset-textarea.html fast/forms/box-shadow-override.html
Created attachment 222253 [details] Archive of layout-test-results from webkit-ews-04 for mac-mountainlion The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: webkit-ews-04 Port: mac-mountainlion Platform: Mac OS X 10.8.5
Created attachment 222254 [details] Patch
Comment on attachment 222254 [details] Patch EWS
Comment on attachment 222254 [details] Patch Attachment 222254 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.appspot.com/results/5612379324809216 New failing tests: tables/mozilla/bugs/bug28928.html tables/mozilla/bugs/bug46368-2.html tables/mozilla/bugs/bug33855.html tables/mozilla/bugs/bug26178.html tables/mozilla/bugs/bug51037.html tables/mozilla/bugs/bug51727.html tables/mozilla/dom/tableDom.html tables/mozilla_expected_failures/bugs/bug58402-2.html tables/mozilla/bugs/bug46368-1.html tables/mozilla/bugs/bug138725.html tables/mozilla/other/move_row.html tables/mozilla/bugs/bug18359.html tables/mozilla/bugs/bug7342.html tables/mozilla/bugs/bug52505.html tables/mozilla_expected_failures/bugs/bug2479-5.html
Created attachment 222262 [details] Archive of layout-test-results from webkit-ews-16 for mac-mountainlion-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: webkit-ews-16 Port: mac-mountainlion-wk2 Platform: Mac OS X 10.8.5
Comment on attachment 222254 [details] Patch Attachment 222254 [details] did not pass mac-ews (mac): Output: http://webkit-queues.appspot.com/results/5359634994954240 New failing tests: tables/mozilla/bugs/bug28928.html tables/mozilla/bugs/bug46368-2.html tables/mozilla/bugs/bug33855.html tables/mozilla/bugs/bug26178.html tables/mozilla/bugs/bug51037.html tables/mozilla/bugs/bug51727.html tables/mozilla/dom/tableDom.html tables/mozilla_expected_failures/bugs/bug58402-2.html tables/mozilla/bugs/bug46368-1.html tables/mozilla/bugs/bug138725.html tables/mozilla/other/move_row.html tables/mozilla/bugs/bug18359.html tables/mozilla/bugs/bug7342.html tables/mozilla/bugs/bug52505.html tables/mozilla_expected_failures/bugs/bug2479-5.html
Created attachment 222263 [details] Archive of layout-test-results from webkit-ews-04 for mac-mountainlion The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: webkit-ews-04 Port: mac-mountainlion Platform: Mac OS X 10.8.5
Comment on attachment 222254 [details] Patch Attachment 222254 [details] did not pass mac-ews (mac): Output: http://webkit-queues.appspot.com/results/4988326817824768 New failing tests: tables/mozilla/bugs/bug28928.html tables/mozilla/bugs/bug46368-2.html tables/mozilla/bugs/bug33855.html tables/mozilla/bugs/bug26178.html tables/mozilla/bugs/bug51037.html tables/mozilla/bugs/bug51727.html tables/mozilla/dom/tableDom.html tables/mozilla_expected_failures/bugs/bug58402-2.html tables/mozilla/bugs/bug46368-1.html tables/mozilla/bugs/bug138725.html tables/mozilla/other/move_row.html tables/mozilla/bugs/bug18359.html tables/mozilla/bugs/bug7342.html tables/mozilla/bugs/bug52505.html tables/mozilla_expected_failures/bugs/bug2479-5.html
Created attachment 222266 [details] Archive of layout-test-results from webkit-ews-07 for mac-mountainlion The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: webkit-ews-07 Port: mac-mountainlion Platform: Mac OS X 10.8.5
Created attachment 222274 [details] Patch
Comment on attachment 222274 [details] Patch EWSing
Comment on attachment 222274 [details] Patch Clearing flags on attachment: 222274 Committed r162803: <http://trac.webkit.org/changeset/162803>
All reviewed patches have been landed. Closing bug.
*** Bug 101848 has been marked as a duplicate of this bug. ***
<rdar://problem/12678254>
<rdar://problem/15926052>