line-stacking-shift property CSS Reference



Definition and Usage

This property determines the line stacking method for block elements containing elements with base-shift.

Name: line-stacking-shift
Value: consider-shifts | disregard-shifts
Initial: consider-shifts
Applies to: block-level elements
Inherited: yes
Percentages: N/A
Media: visual
Computed value: specified value (except for initial and inherit)

Syntax

line-stacking-shift: consider-shifts | disregard-shifts;

Values

consider-shifts
In determining the stack-height, include the adjusted top-edge and bottom-edge of any characters that have a baseline-shift.
disregard-shifts
In determining the stack-height, include the unshifted top-edge and bottom-edge of any characters that have a baseline-shift.

Examples

.class {
line-stacking-shift: disregard-shifts ;
} 

Relative articles