line-height-shift-adjustment
The ‘line-height-shift-adjustment’ property specifies whether to consider the position of superscript and subscript characters (text that has a ‘baseline-shift’) in the line when determining the line height. When -ah-line-height-shift-adjustment: consider-shifts (default) is specified, the adjusted top edge of superscript characters and bottom edge of subscript characters affect the calculation of the line height. When -ah-line-height-shift-adjustment: disregard-shifts is specified, their ‘baseline-shift’ has no effect. Note that -ah-line-height-shift-adjustment: disregard-shifts does not affect the line height only for ‘baseline-shift’. If there is a factor other than ‘baseline-shift’ that affects the line height, the line height will change even if the property is specified. For example, when ‘font-size’ of the character to be shifted is larger than the base text, etc.

No superscript and subscript characters to be shifted

Sample Test

-ah-line-height-shift-adjustment: consider-shifts (default)

Sample® Test©

-ah-line-height-shift-adjustment: disregard-shifts

Sample® Test©

-ah-line-height-shift-adjustment: disregard-shifts, font size to be shifted: 1.5em

Sample® Test©