Closed Bug 35993 Opened 25 years ago Closed 25 years ago

CSS2 System Colours displayed incorrectly within HTML tags.

Categories

(Core :: CSS Parsing and Computation, defect, P3)

x86
Windows NT
defect

Tracking

()

VERIFIED INVALID

People

(Reporter: meheler, Assigned: pierre)

Details

(Keywords: verifyme)

Attachments

(1 file)

When you use an HTML tag, let's say <TD bgColor="ButtonFace"> .. the colour is not displayed correctly, and for me usually ends up as a bright purple. This may not be an official way of using CSS2 system colours, but I think it should be used.
The purple is quite possibly due to CSS2 system fonts not working on Windows yet: see bug 33312, "WinGFX: need support for css2/css3 system fonts", M17.
sidr: this bug is not about the system fonts, it's about the system colors. The way the color string is interpreted causes some interesting effects. See the attached testcase.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Attached file testcase (deleted) —
Even more interesting: it causes similar effects in Nav4x, MacIE5.5 and WinIE5.
These funny colors are compatible with a legacy Nav4x behavior (see NS_LooseHexToRGB in nsColor.cpp). They only happen in quirks mode. In strict mode, colors that are not recognized are ignored. For a complete list of HTML colors, see http://developer.netscape.com/docs/manuals/htmlguid/colortab.htm Adding the CSS2 and CSS3 system colors to that list would be against the spec. Closed as Invalid.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → INVALID
Adding 'verifyme' keyword
Keywords: verifyme
Mozilla follows the spec thus this bug is invalid. Marking as Verified.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: