Closed
Bug 425951
Opened 17 years ago
Closed 17 years ago
Clear Float does not work in Firefox 3.0 beta 4
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: henry.fai.hang.chan, Unassigned)
References
()
Details
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.
Comment 1•17 years ago
|
||
'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
Closed: 17 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•