Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix get alpha opacity in IE8 #1705

Closed
mescoda opened this issue Oct 15, 2014 · 2 comments
Closed

Fix get alpha opacity in IE8 #1705

mescoda opened this issue Oct 15, 2014 · 2 comments

Comments

@mescoda
Copy link

mescoda commented Oct 15, 2014

When setting opacity to an element in IE8+, according to http://www.quirksmode.org/css/opacity.html I can use

.opacity {
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=50);
    opacity: 0.5;
}

note that the opacity in IE8 filter is in upper case

but jQuery 1.* currently only support getting the result setted in lower case opacity, like filter: progid:DXImageTransform.Microsoft.Alpha(opacity=50);

see demo http://jsfiddle.net/c9d5ctfa/ in IE8

Also in MSDN, both upper case and lower case are used in the examples.

My PR: #1704

@mgol mgol added the Bug label Oct 16, 2014
@mgol mgol added this to the 1.12.0/2.2.0 milestone Oct 16, 2014
@mgol mgol self-assigned this Oct 16, 2014
@mgol mgol added the 1.x-only label Nov 6, 2014
@markelog markelog added the CSS label Nov 7, 2014
markelog added a commit that referenced this issue Nov 8, 2014
@markelog
Copy link
Member

markelog commented Nov 8, 2014

Fixed via 3fed4b3

@markelog markelog closed this as completed Nov 8, 2014
markelog pushed a commit that referenced this issue Nov 8, 2014
mgol pushed a commit that referenced this issue Nov 8, 2014
@mgol
Copy link
Member

mgol commented Nov 8, 2014

Fixed via c5e8e12 (the previous commit was landed on an incorrect branch).

@dmethvin dmethvin modified the milestones: 1.12/2.2, 3.0.0 Jan 7, 2016
@lock lock bot locked as resolved and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

4 participants