WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
247815
Use formatting context and parent writing mode when synthesizing baselines
https://bugs.webkit.org/show_bug.cgi?id=247815
Summary
Use formatting context and parent writing mode when synthesizing baselines
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
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2022-11-11 10:12:09 PST
<
rdar://problem/102245183
>
Sammy Gill
Comment 2
2022-11-11 11:14:54 PST
Pull request:
https://github.com/WebKit/WebKit/pull/6406
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.
Top of Page
Format For Printing
XML
Clone This Bug