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)
Tracking
()
VERIFIED
INVALID
People
(Reporter: meheler, Assigned: pierre)
Details
(Keywords: verifyme)
Attachments
(1 file)
(deleted),
text/html
|
Details |
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.
Comment 1•25 years ago
|
||
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.
Assignee | ||
Comment 2•25 years ago
|
||
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
Assignee | ||
Comment 3•25 years ago
|
||
Assignee | ||
Comment 4•25 years ago
|
||
Even more interesting: it causes similar effects in Nav4x, MacIE5.5 and WinIE5.
Assignee | ||
Comment 5•25 years ago
|
||
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
Comment 7•24 years ago
|
||
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.
Description
•