Clear Float does not work in Firefox 3.0 beta 4

RESOLVED INVALID

Status

()

--
major
RESOLVED INVALID
11 years ago
11 years ago

People

(Reporter: henry.fai.hang.chan, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

11 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b4) Gecko/2008030714 Firefox/3.0b4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b4) Gecko/2008030714 Firefox/3.0b4

a 'Clear:float' CSS declaration does NOT take place in the provided URL.

Reproducible: Always

Steps to Reproduce:
1.Go to the URL and scroll down to a yellow square and some text with green background.
2.
3.
Actual Results:  
You see this:

[]這個例子展現出 clear:left 
  能夠抵銷 float 屬性的值。

Expected Results:  
[]這個例子
展現出 clear:left 
能夠抵銷 float 屬性的值。

[] is the yellow box you see there.
'clear' only applies to block-level elements:
http://www.w3.org/TR/CSS21/visuren.html#propdef-clear

The example is using <span> which is 'inline' by default and thus 'clear'
is ignored.  The layout is correct per the CSS 2.1 spec.

-> INVALID
Status: UNCONFIRMED → RESOLVED
Last Resolved: 11 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.