Open
Bug 1488801
Opened 7 years ago
Updated 3 years ago
hr height is rendered wrong height
Categories
(Core :: Layout, defect, P3)
Tracking
()
UNCONFIRMED
People
(Reporter: kes-kes, Unassigned)
Details
Attachments
(3 files)
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
Reporter | ||
Comment 1•7 years ago
|
||
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
Reporter | ||
Comment 3•7 years ago
|
||
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)
Reporter | ||
Comment 4•7 years ago
|
||
Reporter | ||
Comment 5•7 years ago
|
||
Updated•7 years ago
|
Priority: -- → P3
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•