Bug 247815

Summary: Use formatting context and parent writing mode when synthesizing baselines
Product: WebKit Reporter: Sammy Gill <sgill26>
Component: CSSAssignee: Sammy Gill <sgill26>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Sammy Gill
Reported 2022-11-11 10:11:42 PST
css-align-3: Note: The edges used to synthesize baselines from a box depend on their formatting context: inline-level boxes synthesize from their margin edges [CSS-INLINE-3], table cells synthesize from their content edges [CSS2], and grid and flex items synthesize from their border edges [CSS-GRID-1] [CSS-FLEXBOX-1]. https://drafts.csswg.org/css-align-3/#baseline-export We are synthesizing the "alignment-baseline" (https://drafts.csswg.org/css-inline-3/#alignment-baseline-property), which has an initial value of "baseline." This defers to the "dominant-baseline" (https://drafts.csswg.org/css-inline-3/#alignment-baseline-property) of the parent. "dominant- baseline," has an initial value of "auto": Equivalent to alphabetic in horizontal writing modes and in vertical writing modes when text-orientation is sideways. Equivalent to central in vertical writing modes when text-orientation is mixed or upright. However, in SVG text, the origin point of glyphs (used for coordinate-based glyph positioning) is always handled as for central in vertical writing modes.
Attachments
Radar WebKit Bug Importer
Comment 1 2022-11-11 10:12:09 PST
Sammy Gill
Comment 2 2022-11-11 11:14:54 PST
EWS
Comment 3 2022-12-01 08:38:23 PST
Committed 257239@main (c994ed0a3984): <https://commits.webkit.org/257239@main> Reviewed commits have been landed. Closing PR #6406 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.