[Webkit-unassigned] [Bug 247815] New: Use formatting context and parent writing mode when synthesizing baselines

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Nov 11 10:11:42 PST 2022


https://bugs.webkit.org/show_bug.cgi?id=247815

            Bug ID: 247815
           Summary: Use formatting context and parent writing mode when
                    synthesizing baselines
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: sgill26 at apple.com

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20221111/5e98947b/attachment-0001.htm>


More information about the webkit-unassigned mailing list