Bug 249839 - [text-group-align] Implement group alignment
Summary: [text-group-align] Implement group alignment
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Tim Nguyen (:ntim)
URL:
Keywords: InRadar
Depends on:
Blocks: 245561
  Show dependency treegraph
 
Reported: 2022-12-23 00:13 PST by Tim Nguyen (:ntim)
Modified: 2023-01-05 16:27 PST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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