Fix get alpha opacity in IE8 #1705

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

Comments

Projects
None yet
4 participants
@mescoda

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

This comment has been minimized.

Show comment
Hide comment
@markelog

markelog Nov 8, 2014

Member

Fixed via 3fed4b3

Member

markelog commented Nov 8, 2014

Fixed via 3fed4b3

@markelog markelog closed this Nov 8, 2014

markelog added a commit that referenced this issue Nov 8, 2014

mgol added a commit that referenced this issue Nov 8, 2014

@mgol

This comment has been minimized.

Show comment
Hide comment
@mgol

mgol Nov 8, 2014

Member

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

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

@cssmagic cssmagic referenced this issue in cssmagic/ChangeLog May 18, 2016

Open

jQuery #5

@jquery jquery 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.