Definition and Usage
The 'drop-initial-after-align' property determines which alignment line within the nth line box (n being defined by the 'drop-initial-value' property) is used at the primary connection point with the initial letter box.
Name: | drop-initial-after-align |
Value: | <'alignment-baseline'> |
Initial: | baseline |
Applies to: | ::first-letter pseudo element |
Inherited: | no |
Percentages: | N/A |
Media: | visual |
Computed value: | specified values (except for initial and inherit) |
Syntax
drop-initial-after-baseline: [value];
Values
- baseline
- The alignment-point of the element being aligned is aligned with the dominant baseline of the parent.
- use-script
- If the element 'script' property value is 'auto', the alignment point of each glyph is aligned with the baseline-identifier of the script to which the glyph belongs. If the element 'script' property value is other than 'auto', the alignment point of each glyph is aligned with the baseline-identifier specified by the 'script' property. The baseline-identifier position is determined by using the relevant information related to the parent element dominant-baseline set. The alignment point of the element itself is aligned as for the 'baseline' value.
- before-edge
- The alignment point of the box is aligned with the 'before-edge' baseline of the line box.
- text-before-edge
- The alignment-point of the element being aligned is aligned with the 'text-before-edge' baseline of the parent.
- after-edge
- The alignment point of the box is aligned with the 'after-edge' baseline of the line box.
- text-after-edge
- The alignment-point of the element being aligned is aligned with the 'text-after-edge' baseline of the parent.
- central
- The alignment point of the box is aligned with the 'central' baseline of the parent.
- middle
- The alignment point of the box is aligned with the 'middle' baseline of the parent.
- ideographic
- The alignment-point of the element being aligned is aligned with the 'ideographic' baseline of the parent.
- alphabetic
- The alignment-point of the element being aligned is aligned with the lower baseline of the parent.
- hanging
- The alignment-point of the element being aligned is aligned with the hanging baseline of the parent.
- mathematical
- The alignment-point of the element being aligned is aligned with the mathematical baseline of the parent.
Examples
.class { drop-initial-after-baseline: central ; }