Closed Bug 150214 Opened 23 years ago Closed 23 years ago

<td bgcolor="rgb(0,130,90)"> doesnt work

Categories

(Core :: Layout: Tables, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

VERIFIED INVALID

People

(Reporter: godfryd, Assigned: karnaze)

References

()

Details

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; PL; rv:1.0.0) Gecko/20020530 BuildID: 2002053012 <td bgcolor="rgb(0,130,90)"> doesnt work. The color of the cell is not set to rgb(0,130,90), it is just black. Reproducible: Always Steps to Reproduce: Just visit the page given above or make some small html file with <td>. Actual Results: as I described above Expected Results: the color should be equal to given in the tag
It shouldn't work -- that notation is invalid for HTML. All HTML accepts is the "#a1b2c3" notation and the 16 color names defined in the HTML specifications ("red", "green", "blue", etc.). If you want to use "rgb(1,2,3)" notation, you'll have to use CSS. See http://www.w3.org/TR/html4/types.html#h-6.5 and http://www.w3.org/TR/REC-CSS2/syndata.html#color-units
Yup.
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → INVALID
As a further note, that same table cell is colored _purple_ in NS4 and black in IE/Solaris...
Verified.
Status: RESOLVED → VERIFIED
*** Bug 271780 has been marked as a duplicate of this bug. ***
*** Bug 361774 has been marked as a duplicate of this bug. ***
You need to log in before you can comment on or make changes to this bug.