Bug 126657

Summary: Subpixel layout: RenderTableCell with middle vertical alignment and visible scrollbar 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    

zalan
Reported 2014-01-08 13:01:38 PST
RenderTableCell::scrollbarsChanged() calculates the before padding for the table cell which pushes the content off by one CSS pixel when subpixel is off. LayoutUnit newBeforePadding = (totalHeight - heightWithoutIntrinsicPadding) / 2; failed test case: fast/table/overflowHidden.html
Attachments
Simon Fraser (smfr)
Comment 1 2014-01-08 15:29:11 PST
Prefer subpixel.
Radar WebKit Bug Importer
Comment 2 2014-01-14 10:23:27 PST
Note You need to log in before you can comment on or make changes to this bug.