Closed Bug 58827 Opened 25 years ago Closed 24 years ago

empty inlines in empty blocks get no border [INLINE]

Categories

(Core :: Layout, defect, P3)

defect

Tracking

()

RESOLVED WORKSFORME
mozilla1.0

People

(Reporter: ian, Assigned: waterson)

References

()

Details

(Keywords: css1, testcase, Whiteboard: [Hixie-P5])

Attachments

(1 file)

STEPS TO REPRODUCE: <div><span style="border:solid"></span></div> ACTUAL RESULTS: Nothing is displayed. EXPECTED RESULTS: A vertical line with the height of the font's ascent/descent, the colour of the 'color' property, and the width of twice the 'medium' border size. See attached testcase. Spotted in the second test of section 5 of: http://www.bath.ac.uk/%7Epy8ieh/internet/eviltests/lineheight3.html It works fine if there is any text in the <div>.
OS: Windows 2000 → All
QA Contact: petersen → ian
Hardware: PC → All
Sounds like it could be an emptiness check done the wrong way... (or is it wrong?)
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.0
Whiteboard: [Hixie-P5]
Using Mozilla 0.9.1 (Build ID: 2001060713) on Linux, this problem looks fixed. The first test case (test2,section5 of lineheight3) is showing a vertical aqua bar. The vertical bar looks vertically centered around the horizontal zero height box. In the second test case (id=18521) the output is green not red. Is this still a bug?
Hmm. Wow. Indeed. Well, that's cool. Anyone have any idea what fixed it?
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
QA Contact: ian → petersen
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: