Closed Bug 296008 Opened 20 years ago Closed 20 years ago

bgcolor attribute has a minor bug

Categories

(Firefox :: File Handling, defect)

x86
Windows XP
defect
Not set
minor

Tracking

()

RESOLVED DUPLICATE of bug 225004

People

(Reporter: chavimcosta, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; pt-BR; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; pt-BR; rv:1.7.8) Gecko/20050511 Firefox/1.0.4

The bgcolor demands a "#" before the color eg. <td bgcolor="#0033CC"></td>

When processing a page using Macromedia's Coldfusion the page does not display
the assigned color. Since Coldfusion uses the "#" sign to define a variable.

Internet Explorer supports colors without the "#" sign eg. <td
bgcolor="0033CC"></td> which works fine with coldfusion

Reproducible: Always

Steps to Reproduce:
1.desing a page with coldfusion using the <cfoutput> tag
2.<cfset color="FFFFFF">
3.<cfoutput>
4.<table>
5.<td bgcolor="#0033CC#" width="100">#0033CC#<td>
6.</table>
7.<cfoutput>

Actual Results:  
Does not show the actual back ground color

Expected Results:  
Show the backgroud color

IE supports the following <td bgcolor="0033CC">

when firefox only supports <td bgcolor="#0033CC">
doesn't block Gecko development= no blocker

*** This bug has been marked as a duplicate of 225004 ***
Severity: blocker → minor
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.