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 9123 - RGBA not supported as a border color.
Summary: RGBA not supported as a border color.
Status: RESOLVED FIXED
Alias: None
Product: CSSValidator
Classification: Unclassified
Component: CSS 3 (show other bugs)
Version: CSS Validator
Hardware: PC Linux
: P2 major
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-02-22 23:19 UTC by AB
Modified: 2012-11-02 10:14 UTC (History)
4 users (show)

See Also:


Attachments

Description AB 2010-02-22 23:19:19 UTC
If an RGBA value is given for border-color, the validator returns this error:
Value Error : border  Too many values or values are not recognized : 2px solid rgba(18,143,53,0.3)  2px solid rgba(18,143,53,0.3)
Comment 1 mmkmou 2011-10-19 18:15:44 UTC
idem  for text-shadow and box-shadow
Comment 2 R M 2012-01-31 16:26:58 UTC
Broken for almost 2 years now!!  CONGRATS!

An example of a valid syntax it reports as an error:

text-shadow: rgba(0,0,0,0.5) -1px 0, rgba(0,0,0,0.5) 0 -1px, rgba(0,0,0,0.3) -1px -2px;


Also, the link it produces to text shadow is dead:

http://jigsaw.w3.org/css-validator/nulltext.html#propdef-text-shadow
Comment 3 carine bournez 2012-09-21 15:11:26 UTC
Supported in the current version.
Comment 4 max.berghammer 2012-10-31 20:42:15 UTC
The current version still says, that a valid rgba-value is an error for the outline-property...
example:

.thinOutline,
.tile,
ul.tiles li a,
.mainnav ul li a,
ul.subnav li a {
	outline: rgba(0, 0, 0, 0.25) solid 1px;
	outline-offset: -1px;
}
Comment 5 Yves Lafon 2012-11-02 10:14:08 UTC
The bug report was for the 'border' spec. It is _not_ the same issue as the one with 'outline' (which was just fixed), so please do not reopen this bug for random properties, open a new one, thanks! (and thanks for the report for outline).