Closed
Bug 292545
Opened 20 years ago
Closed 20 years ago
Single pixel gap below span contained in div
Categories
(Core :: Layout: Block and Inline, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: pjc51, Unassigned)
Details
(Keywords: testcase)
Attachments
(3 files)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.7.7) Gecko/20050414 Firefox/1.0.3
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.7.7) Gecko/20050414 Firefox/1.0.3
I'm not sure whether this is a duplicate of 173051 or not...
The attached HTML renders with a single pixel gap between the bottom of the
coloured background of othe span and the border of the parent div. This is a
problem in Windows XP, but not in Linux (debian packaged version).
Reproducible: Always
Steps to Reproduce:
1. See attached HTML.
Actual Results:
Single pixel gap as described.
Expected Results:
Span should be flush against bottom border of div.
| Reporter | ||
Comment 1•20 years ago
|
||
| Reporter | ||
Comment 2•20 years ago
|
||
| Reporter | ||
Comment 3•20 years ago
|
||
Please test to see if this happens on the trunk. That's how to tell if it's a
duplicate of bug 173051.
Version: Trunk → 1.7 Branch
Comment 5•20 years ago
|
||
Bug is present in Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b2)
Gecko/20050501 Firefox/1.0+ for me.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 6•20 years ago
|
||
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b2) Gecko/20050501
Firefox/1.0+
Additionally, if you resize the font (CTRL++) a few times, a gap appears at the
top too.
Actually, there's no reason those things should line up. The size of the DIV is
based on the rules in http://www.w3.org/TR/CSS21/visudet.html#line-height and
the size of the red background is based on the rules in
http://www.w3.org/TR/CSS21/visudet.html#inline-non-replaced
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•