Closed
Bug 298683
Opened 20 years ago
Closed 12 years ago
rendering problem with margin-bottom in combination with line-height in percent
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: s.stock, Unassigned)
Details
Attachments
(1 file)
|
1.31 KB,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4 In the attached html file are five <div> elements one below the other. I used some stylesheet for formatting: margin-bottom= 1px, font-size= 11 px, some padding and a background color. This works fine. But when I add a line-height with a value in percent the third <div> element is displayed with a margin-bottom of 2 px. Reproducible: Always Steps to Reproduce: 1.View the attached file in firefox 1.4 2. 3. Actual Results: the third <div> element is displayed with a margin-bottom of 2 px Expected Results: the third <div> element should be displayed with a margin-bottom of 1 px
| Reporter | ||
Comment 1•20 years ago
|
||
Comment 2•20 years ago
|
||
observed bug in Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4 but: wfm with Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050618 Firefox/1.0+ and wfm with Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b2) Gecko/20050618 Firefox/1.0+
Comment 3•19 years ago
|
||
Still see this bug in Fx 1.0.6 Something like this happen when IMG tag is included into styled DIV, but only on odd IMG heights
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updated•12 years ago
|
Status: NEW → RESOLVED
Closed: 12 years ago
Component: General → Layout
Product: Firefox → Core
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•