Open Bug 1374102 Opened 8 years ago Updated 3 years ago

<br> should have no height

Categories

(Core :: Layout: Block and Inline, defect, P3)

defect

Tracking

()

Tracking Status
firefox57 --- wontfix

People

(Reporter: Oriol, Unassigned)

Details

(Keywords: testcase)

Attachments

(2 files)

Attached file testcase.htm
If you style a <br> with height:500px, it is ignored. But if you use line-height:500px, then the height becomes 500px. This seems wrong, and neither Chrome nor Edge do this.
Priority: -- → P3
(I can reproduce in old builds, e.g. Nightly 2014-06-01 (Firefox 32). So, not a regression --> this isn't high-priority enough to make it for 57 at this point, since 57's going to beta channel soon.)
Keywords: testcase

The testcases look good after bug 1739894.
But getComputedStyle(document.querySelector("br")).height still says 100px, not sure if that makes much sense.

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: