Bug 249839

Summary: [text-group-align] Implement group alignment
Product: WebKit Reporter: Tim Nguyen (:ntim) <ntim>
Component: Layout and RenderingAssignee: 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    

Description Tim Nguyen (:ntim) 2022-12-23 00:13:06 PST
> 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.
Comment 1 Radar WebKit Bug Importer 2022-12-23 00:17:41 PST
<rdar://problem/103663524>
Comment 2 Tim Nguyen (:ntim) 2023-01-05 16:23:58 PST
Pull request: https://github.com/WebKit/WebKit/pull/8052
Comment 3 Tim Nguyen (:ntim) 2023-01-05 16:27:53 PST
Pull request: https://github.com/WebKit/WebKit/pull/8262