Bug 126657
Summary: | Subpixel layout: RenderTableCell with middle vertical alignment and visible scrollbar needs bias centering. | ||
---|---|---|---|
Product: | WebKit | Reporter: | zalan <zalan> |
Component: | Layout and Rendering | Assignee: | 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
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Simon Fraser (smfr)
Prefer subpixel.
Radar WebKit Bug Importer
<rdar://problem/15815542>