Closed Bug 281569 Opened 20 years ago Closed 20 years ago

No support for hexa triplet color in bgcolor attribute

Categories

(Core :: DOM: Core & HTML, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: bugzilla, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; fr-FR; rv:1.7.5) Gecko/20041108 Firefox/1.0
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; fr-FR; rv:1.7.5) Gecko/20041108 Firefox/1.0

Ok, I must admit this is not standard according to the comments in the html4
transitional DTD but at least khtml and MSIE do support them.

Ex: <td bgcolor="#fff"> => makes a black cell instead of white.

DTD says value of bgcolor must be one of 16 named colors or a #RRGGBB hexa
value. Still some people do write #RGB color as CSS permits.

Not a big deal.

Reproducible: Always
This is very rarely used invalid markup; not worth creating a quirk for.  Note
that IE allows rgb(...) values in this attribute too, and so forth, which is
pretty clearly bogus.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → WONTFIX
Component: DOM: HTML → DOM: Core & HTML
QA Contact: ian → general
You need to log in before you can comment on or make changes to this bug.