CSS line-stacking-shift Property

Description

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

The line-stacking-shift property has been deprecated or is no longer in any CSS working groups.

Initial value
consider-shifts
Applies to
Block level elements
Inherited
Yes
Media
Visual
Computed value
Specified value (except for initial and inherit)
Animatable
No
CSS Version
CSS3
JavaScript syntax
object.style.lineStackingShift

Syntax

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

Values

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

Example

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

Browser Support

Desktop
Explorer Edge Chrome Firefox Opera Safari
??????
Tablets / Mobile
Android Chrome Firefox Opera Safari Samsung
??????