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 4362 - Property opacity doesn't exist : 0.5
Summary: Property opacity doesn't exist : 0.5
Status: RESOLVED WORKSFORME
Alias: None
Product: CSSValidator
Classification: Unclassified
Component: CSS 3 (show other bugs)
Version: CSS Validator
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Terje Bless
QA Contact: qa-dev tracking
URL: http://www.w3.org/TR/css3-color/#tran...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-02 15:24 UTC by Sean Robertson
Modified: 2008-03-28 17:57 UTC (History)
1 user (show)

See Also:


Attachments

Description Sean Robertson 2007-03-02 15:24:47 UTC
Validator incorrectly reports that opacity does not exist, but it is listed here in the specs:

http://www.w3.org/TR/css3-color/#transparency

This causes sites to fail validation even though their code is fully compliant - a problem for any designer who prides him or herself on standards compliance (one of my sites was listed among the 35 best built political sites out of 1000 tested by CNET for that very reason).
Comment 1 GĂ©rard Talbot 2007-09-01 04:08:24 UTC
Hello all,

opacity is a CSS 3 (color module) property. When submitting a webpage to CSS validator, the default profile is CSS 2.1 and not CSS 3 profile.

Demonstration that opacity is correctly reported as valid property name when submitted to W3C CSS validator (with a CSS 3 profile):

http://www.gtalbot.org/BugzillaSection/TestingOpacityCSSValidation.html

In my opinion, this bug is 

INVALID
Comment 2 Olivier Thereaux 2008-03-28 17:57:38 UTC
Indeed opacity is not in the default CSS2.1, but setting the validator to check against css3 works. The validator now gives a more user-friendly message when using css2.1:
Property opacity doesn't exist in CSS level 2.1 but exists in [css3]

I'm closing this as WORKSFORME