Bug 126656

Summary: Subpixel layout: RenderSearchField and RenderTextControlSingleLine() needs bias centering.
Product: WebKit Reporter: zalan <zalan>
Component: Layout and RenderingAssignee: zalan <zalan>
Status: RESOLVED INVALID    
Severity: Normal CC: jonlee, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 126283    

Description zalan 2014-01-08 12:47:02 PST
This is similar to bug 125659 with even more bias centering. (probably should merge them)

innerTextRenderer->setLogicalTop(innerTextRenderer->logicalTop() - (logicalHeightDiff / 2 + layoutMod(logicalHeightDiff, 2)));

failed cases:
fast/block/float/032.html
fast/forms/search-vertical-alignment.html
fast/ruby/ruby-svg-crash.html
Comment 1 Simon Fraser (smfr) 2014-01-08 15:26:53 PST
Check FF, prefer subpixel.
Comment 2 Radar WebKit Bug Importer 2014-01-14 10:24:01 PST
<rdar://problem/15815537>
Comment 3 zalan 2014-01-14 16:15:21 PST
FF renders search widgets differently (search-vertical-alignment.html). The other 2 failed cases are not related and most likely result of some flakiness. 
Prefer new behavior.