Open Bug 1488801 Opened 7 years ago Updated 3 years ago

hr height is rendered wrong height

Categories

(Core :: Layout, defect, P3)

61 Branch
defect

Tracking

()

UNCONFIRMED

People

(Reporter: kes-kes, Unassigned)

Details

Attachments

(3 files)

Attached image delete1.jpg
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0 Build ID: 20180712135629 Steps to reproduce: I am stylizing hr tag: /* https://stackoverflow.com/a/4151770/4632019 */ .invoice-title + hr { height: 3px; border: none; color: blue; background-color: red; margin-top: 0px; } Actual results: but it is rendered 4px in height Expected results: the hr must have height of 3px not 4px and showed at attached printscreen. Same page in chrome is rendered correct: hr height is 3px
As workaround: .invoice-title + hr { border: none; border-bottom: 3px solid red; margin-top: 0px; }
Hi Eugen, I cannot seem to reproduce the issue with what you've provided. Can you attach the test case as an .html file as an attachment here in Bugzilla?
Component: Untriaged → Layout
Flags: needinfo?(kes-kes)
Product: Firefox → Core
yes. When there only one tag on page it is not reproduceable. see whole my page. (the google chrome render it as 3px height)
Flags: needinfo?(kes-kes)
Attached file invoice.css
Attached file invoice.html.ep
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: