FLUID-6279: The line-space enactor sets a line-height of 1.2 when line-height is set to normal

Metadata

Source
FLUID-6279
Type
Bug
Priority
Critical
Status
Closed
Resolution
Fixed
Assignee
Justin Obara
Reporter
Justin Obara
Created
2018-05-03T11:02:42.398-0400
Updated
2024-07-22T10:35:12.723-0400
Versions
N/A
Fixed Versions
N/A
Component
  1. Prefs Framework
  2. UIEnhancer
  3. UI Options

Description

The line-space enactor will set the default multiplier to 1.2 ( https://developer.mozilla.org/en/CSS/line-height ) when it detects that the initial line-height is set to "normal". However, because the 1.2 is it universally accurate, this may cause some movement of the text on a site when the inline line-height style is set.

This was first noticed on https://cities.inclusivedesign.ca

When a line-height multiplier is not found we should either not set a line-space style or set it back to what was found in the document (e.g. "normal").

Environments

Chrome 66