Initial width and width: auto; should be computed to 0 on floats

RESOLVED INVALID

Status

()

Core
CSS Parsing and Computation
RESOLVED INVALID
14 years ago
8 years ago

People

(Reporter: David "liorean" Andersson, Assigned: dbaron)

Tracking

Trunk
x86
Windows 2000
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

14 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007 Firebird/0.7
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007 Firebird/0.7

According to [CSS2] 10.3.5 Floating, non-replaced elements
(http://www.w3.org/TR/REC-CSS2/visudet.html#q8) width: auto; on floats should be
computed to 0. This means that all modern browsers gets this wrong, as none does
that for the tests in the testcase.

(A fix to this bug would break very many designs on on the web, but I thought it
should be reported anyway...)

Reproducible: Always

Steps to Reproduce:
See testcase.
Actual Results:  
Only the reference renderings gets computed to 0.

Expected Results:  
Mozilla should have computed the width to 0 in all of the cases

Comment 1

14 years ago
This has been changed in CSS2.1:
http://www.w3.org/TR/CSS21/visudet.html#q8

-> INVALID
Status: UNCONFIRMED → RESOLVED
Last Resolved: 14 years ago
Resolution: --- → INVALID

Updated

8 years ago
You need to log in before you can comment on or make changes to this bug.