Bug 249839
Summary: | [text-group-align] Implement group alignment | ||
---|---|---|---|
Product: | WebKit | Reporter: | Tim Nguyen (:ntim) <ntim> |
Component: | Layout and Rendering | Assignee: | Tim Nguyen (:ntim) <ntim> |
Status: | NEW | ||
Severity: | Normal | CC: | bfulgham, simon.fraser, webkit-bug-importer, zalan |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Bug Depends on: | |||
Bug Blocks: | 245561 |
Tim Nguyen (:ntim)
> https://drafts.csswg.org/css-text-4/#text-group-align-property
Group alignment is performed by finding the line box with the shortest remaining space and adding that amount of space as padding to one or both sides of the line box, reducing the amount of space available for its contents; text alignment is then applied to its contents within the remaining space. All descendant in-flow line boxes within the same block formatting context are considered both when searching for the shortest remaining space and when adding the padding; the contents of descendants that establish independent formatting contexts are skipped.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/103663524>
Tim Nguyen (:ntim)
Pull request: https://github.com/WebKit/WebKit/pull/8052
Tim Nguyen (:ntim)
Pull request: https://github.com/WebKit/WebKit/pull/8262