dominant-baseline-presentationAttribute: dominant.baseline

Description Available Attribute Values Used by the Elements

Description

Govnerns the dominant baseline of a text element.

Available Attribute Values

''''alphabetic''''

Specifies to use an alphabetic baseline.

''''auto''''

Specifies to pick a baseline depending on element, writing mode, font-size, base-line shift.

''''central''''

Specifies to use a baseline halfway between the two baselines: text-before-edge and text-after-edge.

''''hanging''''

Specifies to use the hanging baseline-table of the nominal font

''''ideographic''''

Specifies to use an ideographic baseline-table of the nominal font

''''inherit''''

Specifies to inherit the balseline from an ancestor.

''''mathematical''''

Specifies to use the mathematical baseline-table of the nominal font

''''middle''''

Specifies to use a baseline which is offset from alphabetic baseline by 1/2 x-height of this font.

''''no-change''''

Specifies to use the baseline of the parent.

''''reset-size''''

Specifies to rescale baselines for current font-size.

''''text-after-edge''''

Specifies to position the baseline around top of the acenders.

''''text-before-edge''''

Specifies to position the baseline around the bottom of the descenders.

''''use-script''''

Specifies to compute the baseline using the predominant script of the character data content.

Used by the Elements

Text Content Elements

altGlyph, text, textPath, tref, tspan


mslegrand/svgR documentation built on Jan. 21, 2020, 2:59 p.m.