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 9598 - border-color, border-top, border-bottom, border-top-color etc don't allow hsl/hsla/rgba ?
Summary: border-color, border-top, border-bottom, border-top-color etc don't allow hsl...
Status: RESOLVED FIXED
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-04-27 14:28 UTC by Patrick H. Lauke
Modified: 2012-09-21 15:25 UTC (History)
0 users

See Also:


Attachments

Description Patrick H. Lauke 2010-04-27 14:28:11 UTC
validator doesn't seem to recognise those values

e.g.

.foo { border-color: hsl(0%,0%,56%); }
.foo { border-color: hsla(0%,0%,56%,1); }
.foo { border-color: rgba(0%,0%,56%,1); }
Comment 1 Yves Lafon 2012-09-21 15:25:25 UTC
The hsl and hsla values are wrong,

.foo { border-color: hsl(0,0%,56%); }
.foo { border-color: hsla(0,0%,56%,1); }
.foo { border-color: rgba(0%,0%,56%,1); }

are OK (note that the first value of hsl and hsla are not percentages)