Closed Bug 427527 Opened 16 years ago Closed 16 years ago

block collapses when the negative text-indent has the same width as the inline elem

Categories

(Core :: Layout: Block and Inline, defect)

All
Windows Vista
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: t-mozilla, Unassigned)

References

()

Details

(Keywords: testcase)

User-Agent:       Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.0.04506; InfoPath.2)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; ja; rv:1.8.1.13) Gecko/20080311 Firefox/2.0.0.13

On Windows, one of the five blue-colored DIVs becomes 0px height and collapsed.
This happenes only when the amount of hanging indent (the size of negative text-indent) is the same as the width of the content.  The same bug appeared on Linux if we adjust the text-indent size.

Reproducible: Always

Steps to Reproduce:
On windows, load http://www.snowelm.com/~t/temp/testtest.html 

Actual Results:  
One of the five DIVs ( in my machine, the fourth one ) becomes 0px height.

Expected Results:  
all DIVs should have the same height.

Already fixed in 3.0pre.
The URL is the reduced testcase.
embedded javascrtipts are just for confirming the problem, and not related to the bug itself.
Keywords: testcase
We're not fixing layout bugs in 2.0.0.* security releases, only security bugs or regressions from them.  So given that you say this is already fixed in 3.0pre, marking as worksforme.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.