Closed
Bug 293329
Opened 20 years ago
Closed 20 years ago
Background color does not show when style float:left is used in span.
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: CheongTM, Assigned: dbaron)
Details
(Keywords: testcase)
Attachments
(1 file, 1 obsolete file)
|
1.76 KB,
application/octet-stream
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050503 Firefox/1.0+ Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050503 Firefox/1.0+ In <div style="background-color:#ffffcc"><span style="float:left">This is left panel</span></div>, the background-color is not shown in Firefox but it is shown in IE. If style="float:left" in span element is removed, the background color is shown. I believe it is a bug in Firefox. Refer to the attached testcase in Additional comment #1. Reproducible: Always
| Reporter | ||
Comment 1•20 years ago
|
||
Updated•20 years ago
|
Assignee: nobody → dbaron
Component: General → Style System (CSS)
Keywords: testcase
Product: Firefox → Core
QA Contact: general → ian
Version: unspecified → 1.0 Branch
I see the same result in IE and FF (1.0.3) - no background in the second line. My understanding of a float was that it wasn't counted when producing backgrounds, etc. So I'm not sure this is a bug.
Component: Style System (CSS) → Build Config
Product: Core → Firefox
Updated•20 years ago
|
Assignee: dbaron → nobody
Product: Firefox → Core
QA Contact: ian → build-config
Updated•20 years ago
|
Assignee: nobody → dbaron
Component: Build Config → Style System (CSS)
QA Contact: build-config → ian
Comment 3•20 years ago
|
||
This is invalid. You need to clear after the floats in order for this to work.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
Version: 1.0 Branch → Trunk
| Reporter | ||
Comment 4•20 years ago
|
||
Sorry for the wrong testcase. I have attached a new test case to show that the background-color can be shown in IE but not in Firefox 1.0.3. If it is not a bug, please suggest a suitable workaround such that I can use span with style float for formatting my web page in both IE and Firefox. Thanks
Attachment #182927 -
Attachment is obsolete: true
| Reporter | ||
Updated•20 years ago
|
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---
| Assignee | ||
Comment 5•20 years ago
|
||
If you're going to reopen, at least attach a testcase that can be examined from the bug rather than a zip file.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago → 20 years ago
Resolution: --- → INVALID
| Assignee | ||
Comment 6•20 years ago
|
||
That said, the description of the bug in comment 0 is definitely not a valid bug.
You need to log in
before you can comment on or make changes to this bug.
Description
•