empty inlines in empty blocks get no border [INLINE]

RESOLVED WORKSFORME

Status

()

P3
minor
RESOLVED WORKSFORME
19 years ago
18 years ago

People

(Reporter: ian, Assigned: waterson)

Tracking

({css1, testcase})

Trunk
mozilla1.0
css1, testcase
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [Hixie-P5], URL)

Attachments

(1 attachment)

(Reporter)

Description

19 years ago
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>.
(Reporter)

Updated

19 years ago
Keywords: correctness, css1, mozilla1.0, testcase
OS: Windows 2000 → All
QA Contact: petersen → ian
Hardware: PC → All
(Reporter)

Comment 1

19 years ago
Created attachment 18521 [details]
Simple and self explanatory testcase. Output should be green, not red.
Sounds like it could be an emptiness check done the wrong way... (or is it wrong?)
(Assignee)

Updated

18 years ago
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.0
(Reporter)

Updated

18 years ago
Whiteboard: [Hixie-P5]

Comment 3

18 years ago
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?
(Reporter)

Comment 4

18 years ago
Hmm. Wow. Indeed.
Well, that's cool.
Anyone have any idea what fixed it?
Status: ASSIGNED → RESOLVED
Last Resolved: 18 years ago
QA Contact: ian → petersen
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.