Closed Bug 1331267 Opened 7 years ago Closed 5 years ago

Line height doesn't affect floats

Categories

(Core :: Layout: Floats, defect)

50 Branch
x86_64
macOS
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: artoix, Unassigned, NeedInfo)

Details

(Keywords: testcase-wanted)

Attachments

(1 file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36

Steps to reproduce:

I applied specific styles to :first-letter pseudo class to achieve drop-cap typography effect. To have drop-cap properly wrapped by text, I applied float:left style to it.


Actual results:

The result is that Firefox ignores line-height definition, making it impossible to properly align drop-cap with the rest of the text (see screenshot attached).


Expected results:

Line height should have effect over floating box height.
Component: Untriaged → General
Keywords: css2, css3
OS: Unspecified → Mac OS X
Hardware: Unspecified → x86_64
Provide a testcase, please.
Component: General → Layout: Floats
Flags: needinfo?(artoix)
Keywords: css2, css3testcase-wanted
Product: Firefox → Core

2019-03-06

This bug is part of a group of bugs which have had an open needinfo for at least 12 weeks.

The request for information has not been answered, and we can't move forward on the bug so we are closing it.

If the defect is still present, please reopen this bug with an updated report.

Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: