Bug 126651
| Summary: | Subpixel layout: RenderFlexibleBox::alignChildren() needs biased centering. | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | alan <zalan> |
| Component: | Layout and Rendering | Assignee: | alan <zalan> |
| Status: | ASSIGNED | ||
| 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 | ||
alan
While adjusting the alignment for children (adjustAlignmentForChild()), we should bias offset the delta when center positioning.
adjustAlignmentForChild(*child, availableAlignmentSpaceForChild(lineCrossAxisExtent, *child) / 2);
failed cases:
fast/forms/range/input-appearance-range.html
fast/hidpi/video-controls-in-hidpi.html
fast/layers/video-layer.html
fast/multicol/client-rects.html
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Simon Fraser (smfr)
Check FF behavior, but prefer subpixel positioning.
Radar WebKit Bug Importer
<rdar://problem/15815513>
alan
These custom controls look different on FF. By looking at the vertical positioning, the old behavior looks more centered. This is similar to bug 101848 (widget content centering)