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 11288 - Show errors on opacity
Summary: Show errors on opacity
Status: RESOLVED INVALID
Alias: None
Product: CSSValidator
Classification: Unclassified
Component: CSS 3 (show other bugs)
Version: CSS Validator
Hardware: PC Windows XP
: 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-11-11 02:11 UTC by Dex (Andrew)
Modified: 2012-09-21 19:12 UTC (History)
0 users

See Also:


Attachments

Description Dex (Andrew) 2010-11-11 02:11:46 UTC
There are three different ways to change opacity for different browsers, but CSS knows only of simple opacity.

Example:
div {
	opacity: 0.8;
	filter: alpha(opacity=80);
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
}
two last strings are viewed as errors, but it doesn't work on ie5-8 without them.

Is it an error to use filter and -ms-filter for opacity? Thanks for your time.
Comment 1 Yves Lafon 2012-09-21 15:27:45 UTC
Yes -ms-filter is a vendor extension, and one that doesn't work well with the CSS syntax.
filter is not a known CSS property.
Cheers
Comment 2 Dex (Andrew) 2012-09-21 18:53:54 UTC
Ok, fixed it with a help fix-ie-png script(or something).

Thanks for fast answer by the way :D (Almost two years)

By the way about "filter" as not a known CSS property

http://www.w3schools.com/css/css_image_transparency.asp

I always thought you were from the same company. (w3 and w3schools)
Comment 3 Dex (Andrew) 2012-09-21 19:12:26 UTC
also talking about bugs, you have styling bug, 

https://www.w3.org/Bugs/Public/skins/standard/index.css
on line 74
#query { background: url(index/search.gif)  no-repeat; }
background image defined but on this page
https://www.w3.org/Bugs/Public/
#query is a list item without width and height properties
and this image only annoys

Tried it also in Validator 11 errors mostly by doubles of input ID's
http://validator.w3.org/check?uri=https%3A%2F%2Fwww.w3.org%2FBugs%2FPublic%2F&charset=%28detect+automatically%29&doctype=Inline&group=0

I have nothing against your page but I think at least your company must take standards more seriously.