bugzilla.mozilla.org has resumed normal operation. Attachments prior to 2014 will be unavailable for a few days. This is tracked in Bug 1475801.
Please report any other irregularities here.

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




Layout: Block and Inline
10 years ago
10 years ago


(Reporter: Makino, Takaki, Unassigned)



Firefox Tracking Flags

(Not tracked)





10 years ago
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: Gecko/20080311 Firefox/

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.

Comment 1

10 years ago
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.
Last Resolved: 10 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.