dominant-baseline
Attribute information
Namespace: None
Schema document: fo.xsd
Type: Anonymous
Properties: Local, Unqualified
Value
Valid value Description auto If this property occurs on a block-level formatting object, then the computed value depends on the value of the "script" property. There are two cases. If the value of the "script" property is "auto", then, if the "writing-mode" is horizontal, then the baseline-identifier for the dominant baseline is set to be "alphabetic", else if the "writing-mode" is vertical, then the baseline-identifier for the dominant baseline is set to be "central". On the other hand, if the value of the "script" property is anything other than "auto", then the value of the "script" property is used to select the baseline-identifier for the dominant baseline. The mapping from script to baseline-identifier is taken from the nominal font. The derived baseline-table is constructed using the baseline-table in the nominal font that corresponds to the baseline-identifier for the dominant baseline. The baseline-table font-size is changed to the value of the "font-size" property on this formatting object. Otherwise, if this property is not on a block-level formatting object, then the baseline-identifier for the dominant baseline, the derived baseline-table, and baseline-table font-size remain the same as those of the parent formatting object. If the computed "baseline-shift" value actually shifts the baseline, then the baseline-table font-size is set to the value of the "font-size" property on the formatting object on which the "dominant-baseline" property occurs, otherwise the baseline-table font-size remains the same as that of the parent formatting object. If there is no parent formatting object, the derived baseline-table is constructed as above for block-level formatting-objects. use-script The "script" property is used to select the baseline-identifier for the dominant baseline. The mapping from script to baseline-identifier is taken from the nominal font. The derived baseline-table is constructed using the baseline-table in the nominal font that corresponds to the baseline-identifier for the dominant baseline. The baseline-table font-size is changed to the value of the "font-size" property on this formatting object. no-change The dominant-baseline, the baseline-table, and the baseline-table font-size remain the same as that of the parent formatting object. reset-size The dominant-baseline and the baseline-table remain the same, but the baseline-table font-size is changed to the value of the "font-size" property on this formatting object. This re-scales the baseline-table for the current "font-size". ideographic The baseline-identifier for the dominant-baseline is set to be "ideographic". The derived baseline-table is constructed using the "ideographic" baseline-table in the nominal font. The baseline-table font-size is changed to the value of the "font-size" property on this formatting object. alphabetic The baseline-identifier for the dominant-baseline is set to be "alphabetic". The derived baseline-table is constructed using the "alphabetic" baseline-table in the nominal font. The baseline-table font-size is changed to the value of the "font-size" property on this formatting object. hanging The baseline-identifier for the dominant-baseline is set to be "hanging". The derived baseline-table is constructed using the "hanging" baseline-table in the nominal font. The baseline-table font-size is changed to the value of the "font-size" property on this formatting object. mathematical The baseline-identifier for the dominant-baseline is set to be "mathematical". The derived baseline-table is constructed using the "mathematical" baseline-table in the nominal font. The baseline-table font-size is changed to the value of the "font-size" property on this formatting object. central The baseline-identifier for the dominant-baseline is set to be "central". The derived baseline-table is constructed from the defined baselines in a baseline-table in the nominal font. That font baseline-table is chosen using the following priority order of baseline-table names: "ideographic", "alphabetic", "hanging", "mathematical". The baseline-table font-size is changed to the value of the "font-size" property on this formatting object. middle The baseline-identifier for the dominant-baseline is set to be "middle". The derived baseline-table is constructed from the defined baselines in a baseline-table in the nominal font. That font baseline-table is chosen using the following priority order of baseline-table names: "alphabetic", "ideographic", "hanging", "mathematical". The baseline-table font-size is changed to the value of the "font-size" property on this formatting object. text-after-edge The baseline-identifier for the dominant-baseline is set to be "text-after-edge". The derived baseline-table is constructed from the defined baselines in a baseline-table in the nominal font. The choice of which font baseline-table to use from the baseline-tables in the nominal font is implementation defined. The baseline-table font-size is changed to the value of the "font-size" property on this formatting object. text-before-edge The baseline-identifier for the dominant-baseline is set to be "text-before-edge". The derived baseline-table is constructed from the defined baselines in a baseline-table in the nominal font. The choice of which baseline-table to use from the baseline-tables in the nominal font is implementation defined. The baseline-table font-size is changed to the value of the "font-size" property on this formatting object. inherit
Used in
- Attribute group fo:dominant-baseline
- Anonymous type of element fo:basic-link via reference to fo:dominant-baseline
- Anonymous type of element fo:character via reference to fo:dominant-baseline
- Anonymous type of element fo:external-graphic via reference to fo:dominant-baseline
- Anonymous type of element fo:inline via reference to fo:dominant-baseline
- Anonymous type of element fo:inline-container via reference to fo:dominant-baseline
- Anonymous type of element fo:instream-foreign-object via reference to fo:dominant-baseline
- Anonymous type of element fo:leader via reference to fo:dominant-baseline
- Anonymous type of element fo:page-number via reference to fo:dominant-baseline
- Anonymous type of element fo:page-number-citation via reference to fo:dominant-baseline
- Anonymous type of element fo:page-number-citation-last via reference to fo:dominant-baseline
- Anonymous type of element fo:scaling-value-citation via reference to fo:dominant-baseline
- Attribute group fo:area-alignment-properties via reference to fo:dominant-baseline