diff options
author | Michał Gołębiowski-Owczarek <m.goleb@gmail.com> | 2020-10-15 14:33:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-15 14:33:51 +0200 |
commit | b15e45a45100ad8e64ef0d362380d9aa27fe6862 (patch) | |
tree | 4e7ad372ce5402b336400929fbfb81ac7e34936c | |
parent | a22361dbe491c494a87f38600d9c1f91aa07d3e0 (diff) | |
download | jquery-ui-b15e45a45100ad8e64ef0d362380d9aa27fe6862.tar.gz jquery-ui-b15e45a45100ad8e64ef0d362380d9aa27fe6862.zip |
Core: Resolve csslint issues with the IE filter property
IE filter property violates standard CSS parsing rules. Because of that, IE 8
added `-ms-filter` which accepts the same values but quoted:
https://web.archive.org/web/20101112132308/http://blogs.msdn.com/b/ie/archive/2008/09/08/microsoft-css-vendor-extensions.aspx
Both `filter` & `-ms-filter` serialize to the same `filter` property in
`currentStyle`.
This commit switches to that new property to resolve csslint issues.
Closes gh-1939
-rw-r--r-- | themes/base/core.css | 2 | ||||
-rw-r--r-- | themes/base/progressbar.css | 2 | ||||
-rw-r--r-- | themes/base/theme.css | 8 |
3 files changed, 6 insertions, 6 deletions
diff --git a/themes/base/core.css b/themes/base/core.css index 2ff5d2da4..ffb533379 100644 --- a/themes/base/core.css +++ b/themes/base/core.css @@ -50,7 +50,7 @@ left: 0; position: absolute; opacity: 0; - filter:Alpha(Opacity=0); /* support: IE8 */ + -ms-filter: "alpha(opacity=0)"; /* support: IE8 */ } .ui-front { diff --git a/themes/base/progressbar.css b/themes/base/progressbar.css index ede7e1f92..2eff6ae93 100644 --- a/themes/base/progressbar.css +++ b/themes/base/progressbar.css @@ -20,7 +20,7 @@ .ui-progressbar .ui-progressbar-overlay { background: url("data:image/gif;base64,R0lGODlhKAAoAIABAAAAAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQJAQABACwAAAAAKAAoAAACkYwNqXrdC52DS06a7MFZI+4FHBCKoDeWKXqymPqGqxvJrXZbMx7Ttc+w9XgU2FB3lOyQ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: 100%; - filter: alpha(opacity=25); /* support: IE8 */ + -ms-filter: "alpha(opacity=25)"; /* support: IE8 */ opacity: 0.25; } .ui-progressbar-indeterminate .ui-progressbar-value { diff --git a/themes/base/theme.css b/themes/base/theme.css index 80d1128a4..ad6f5004b 100644 --- a/themes/base/theme.css +++ b/themes/base/theme.css @@ -167,18 +167,18 @@ a.ui-button:active, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary { opacity: .7; - filter:Alpha(Opacity=70); /* support: IE8 */ + -ms-filter: "alpha(opacity=70)"; /* support: IE8 */ font-weight: normal; } .ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: .35; - filter:Alpha(Opacity=35); /* support: IE8 */ + -ms-filter: "alpha(opacity=35)"; /* support: IE8 */ background-image: none; } .ui-state-disabled .ui-icon { - filter:Alpha(Opacity=35); /* support: IE8 - See #6059 */ + -ms-filter: "alpha(opacity=35)"; /* support: IE8 - See #6059 */ } /* Icons @@ -431,7 +431,7 @@ html .ui-icon-blank { background-image: none; } .ui-widget-overlay { background: #aaaaaa/*{bgColorOverlay}*/ /*{bgImgUrlOverlay}*/ /*{bgOverlayXPos}*/ /*{bgOverlayYPos}*/ /*{bgOverlayRepeat}*/; opacity: .3/*{opacityOverlay}*/; - filter: Alpha(Opacity=30)/*{opacityFilterOverlay}*/; /* support: IE8 */ + -ms-filter: "alpha(opacity=30)"/*{opacityFilterOverlay}*/; /* support: IE8 */ } .ui-widget-shadow { -webkit-box-shadow: 0/*{offsetLeftShadow}*/ 0/*{offsetTopShadow}*/ 5px/*{thicknessShadow}*/ #666666/*{bgColorShadow}*/; |