This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 293 - #ffffff not recognized as color value
Summary: #ffffff not recognized as color value
Status: RESOLVED FIXED
Alias: None
Product: CSSValidator
Classification: Unclassified
Component: CSS 2.0 (show other bugs)
Version: CSS Validator
Hardware: Other other
: P2 major
Target Milestone: ---
Assignee: Philippe Le Hegaret
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-07 10:25 UTC by Bj
Modified: 2004-05-24 02:24 UTC (History)
1 user (show)

See Also:


Attachments

Description Bj 2003-08-07 10:25:33 UTC
hex color values like #fff or #ffffff are not recognized by the
current CVS version of the CSS Validator,
org.w3c.css.properties.CssColorCSS1 and
org.w3c.css.properties.CssColorCSS2 test for

  val instanceof org.w3c.css.values.CssColorCSS1 /* or the respective */
  val instanceof org.w3c.css.values.CssColorCSS2

while 'val' is only an instanceof org.w3c.css.values.CssColor.

See
http://www.w3.org/mid/3f1672c2.211378896@smtp.bjoern.hoehrmann.de
Comment 1 Philippe Le Hegaret 2003-08-29 09:35:42 UTC
Looks like the problem has been fixed for color, but not background or border.