DescriptionBackport WebKit patch to fix input button paddings
It's a backport of the following patch by zalan@apple.com:
http://trac.webkit.org/changeset/162803
Subpixel Layout: Align <input type="button", submit> etc
(PushButtonPart) top and bottom paddings with <button>
https://bugs.webkit.org/show_bug.cgi?id=127640
Reviewed by Simon Fraser.
<button> sets padding-top: 2px and padding-bottom: 3px as
default values (html.css), while <input type="button"
(submit, etc) has the hardcoded values of 0, 0 and we
center the text using the available space. This results
in different baseline text position in normal cases. This
adjustment puts the <input type='button' rendering back
to the pre-subpixel layout state.
BUG=143304
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=186630
Patch Set 1 #Patch Set 2 : Update TestExpectations #Patch Set 3 : Rebase #Patch Set 4 : Tweak TestExpectations more #Patch Set 5 : Rebase #Patch Set 6 : Add one last TestExpectation #Patch Set 7 : Update issue id #Messages
Total messages: 8 (2 generated)
|