line-height-shift-adjustment and line-stacking-strategy
‘line-height-shift-adjustment’ and ‘line-stacking-strategy’ both affect how affect how lines are positioned relative to each other. ‘line-height-shift-adjustment’ controls whether the line-height is adjusted for content that has a baseline-shift, such as superscripted text. Its values are: ‘consider-shifts’ (default: top-edge and bottom-edge of shifted characters affect line-height calculations); and ‘disregard-shifts’ (unshifted top-edge and bottom-edge of shifted characters are used in line-height calculations). ‘line-stacking-strategy’ selects the strategy for positioning lines relative to each other. Its values are: ‘line-height’ (CSS-style line box stacking with half-leading included in line-area height); ‘font-height’ (line-area height is based on font of block-area so that baseline-to-baseline spacing is constant); and ‘max-height’ (default: each line-area’s height is the minimum required to enclose its inline areas and there is constant space between line-areas).
For ‘line-stacking-strategy’ and ‘line-height-shift-adjustment’, see also “line-stacking-strategy (line-height, line-stacking-strategy)”, “line-height-shift-adjustment (line-height, line-height-shift-adjustment)” in Lines.
'line-height-shift-adjustment' 'line-stacking-strategy'
'line-height' 'font-height' 'max-height' (default)
'consider-shifts' (default)
Lorem® ipsum dolor sit
amet, consectetur adipiscing elit. Aliquam bibendum tincidunt pharetra.
Lorem® ipsum dolor sit
amet, consectetur adipiscing elit. Aliquam bibendum tincidunt pharetra.
Lorem® ipsum dolor sit
amet, consectetur adipiscing elit. Aliquam bibendum tincidunt pharetra.
'disregard-shifts'
Lorem® ipsum dolor sit
amet, consectetur adipiscing elit. Aliquam bibendum tincidunt pharetra.
Lorem® ipsum dolor sit
amet, consectetur adipiscing elit. Aliquam bibendum tincidunt pharetra.
Lorem® ipsum dolor sit
amet, consectetur adipiscing elit. Aliquam bibendum tincidunt pharetra.