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 9299 - CSS3 validator does not support HSL, HSLA or RGBA values in text-shadow
Summary: CSS3 validator does not support HSL, HSLA or RGBA values in text-shadow
Status: RESOLVED INVALID
Alias: None
Product: CSSValidator
Classification: Unclassified
Component: CSS 3 (show other bugs)
Version: CSS Validator
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: qa-dev tracking
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-22 19:28 UTC by Lea Verou
Modified: 2011-09-29 11:49 UTC (History)
2 users (show)

See Also:


Attachments

Description Lea Verou 2010-03-22 19:28:41 UTC
The CSS3 validator does not support HSL, HSLA or RGBA values in text-shadow.

Reduction: Try validating this CSS:

* {
  text-shadow: 1px 1px 1px rgba(0, 0, 0, .6);
  text-shadow: 1px 1px 1px hsla(180, 50, 0, .6);
  text-shadow: 1px 1px 1px hsl(180, 0, 0);
}

you will get 3 errors:

2  	 *  	 Value Error : text-shadow  Too many values or values are not recognized : 1px 1px 1px rgba(0,0,0,0.6)  1px 1px 1px rgba(0,0,0,0.6)
3 	* 	Value Error : text-shadow Too many values or values are not recognized : 1px 1px 1px hsla(180,50,0,0.6) 1px 1px 1px hsla(180,50,0,0.6)
4 	* 	Value Error : text-shadow Too many values or values are not recognized : 1px 1px 1px hsl(180,0,0) 1px 1px 1px hsl(180,0,0)
Comment 1 jefersonzanim 2011-09-15 15:24:51 UTC
This bug still active and is responsible for blocking the validation of hundreds of new websites that use CSS3 with RGBA.

Is there any estimate for a fix?
Comment 2 Yves Lafon 2011-09-29 11:49:49 UTC
HSL/HSLA/RGBA are supported in CSS3, however it is likely that text-shadow is not up-to-date for CSS3 but that is another issue, so closing this one.