Closed Bug 255249 Opened 21 years ago Closed 21 years ago

Nested left floats breaks text-align: right

Categories

(Core :: Layout: Floats, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: mozilla, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3 In http://lnx.dk/stuff/design/mozilla_bug2/left.html the text aligns to the left even though its containing div has a "text-align: right;". In http://lnx.dk/stuff/design/mozilla_bug2/right.html , where I've commented on of the two floats out, the text aligns fine to the right. Reproducible: Always Steps to Reproduce: 1. Load http://lnx.dk/stuff/design/mozilla_bug2/left.html in browser Actual Results: The text of the div (#c) aligned to the left. Expected Results: The text of the div (#c) should have aligned to the right. This has been tested (and found broken) in the following browsers as well; Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040707 Firefox/0.9.2 Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.2) Gecko/20040803
WFM, 2004-08-07-06 trunk Linux
Yep, worksforme on current trunk too. Confirmed that this was a bug back in 1.7, but it looks like something fixed it since then. Marking worksforme.
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → WORKSFORME
Confirmed to be working in Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8a3) Gecko/20040811 here too.
WFM, 2004-08-06-07 trunk Windows XP
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.