Closed Bug 1315569 Opened 9 years ago Closed 9 years ago

line-height with em or rem could break layout

Categories

(Core :: Layout: Text and Fonts, defect)

49 Branch
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: u572625, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:49.0) Gecko/20100101 Firefox/49.0 Build ID: 20161019084923 Steps to reproduce: 1. set a div container with one font size and in that div container another div container with another font size place in the first container a line height with em <div with font-size:, line-height:> <div with another font size></div></div> 2. set this element to an area that is not visible when you open that site. 3. scroll down to it 4. hover over a link (outside or inside these divs) Actual results: the layout seems to get refreshed and the text is rearranged Expected results: text should stay fixed
Component: Untriaged → Layout: Text
Product: Firefox → Core
addon bug
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.