Bug 311552

Summary: [SVG2] remove use-script, no-change, reset-size from dominant-baseline
Product: WebKit Reporter: Karl Dubost <karlcow>
Component: SVGAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: sabouhallawa, webkit-bug-importer, zimmermann
Priority: P2 Keywords: GoodFirstBug, InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
URL: https://w3c.github.io/svgwg/svg2-draft/text.html#DominantBaselineProperty

Karl Dubost
Reported 2026-04-05 23:36:25 PDT
https://searchfox.org/wubkat/rev/354badedaff3009fc84f9bb12c99d5bdc4025ea5/Source/WebCore/css/SVGCSSValueKeywords.in#242-246 ``` // CSS_PROP_DOMINANT_BASELINE //auto use-script no-change reset-size ``` Spec prose says: in SVG2 https://w3c.github.io/svgwg/svg2-draft/text.html#DominantBaselineProperty ========== This property is defined in the CSS Line Layout Module 3 specification. See 'dominant-baseline'. [css-inline-3] SVG 2 introduces some changes to the definition of this property. In particular: * The 'reset-size' value is no longer supported. Any change in font-size resets the dominant baseline table. * The 'use-script' and 'no-change' values are no longer supported. * The property is now inherited. (Behavior is effectively unchanged.) SVG uses the value of the dominant-baseline property to align glyphs relative to the ‘x’ and ‘y’ attributes. For the text-orientation value sideways, the auto value for dominant-baseline is alphabetic; however, for backwards compatibility, the glyphs should be aligned to the ‘x’ and ‘y’ attributes using the value central. ====
Attachments
Radar WebKit Bug Importer
Comment 1 2026-04-12 23:37:12 PDT
Note You need to log in before you can comment on or make changes to this bug.