-webkit-backdrop-filter required on Microsoft Edge #84
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
In the current release
supportedProperty('backdrop-filter')
returns'backdrop-filter'
on Edge, but that browser requires-webkit-backdrop-filter
.This case is handled by the
prefixed
plugin, which tries the webkit prefix as a fallback if the browser’s own prefix (ms
in this case) is not supported. The fallback works correctly in this case, but it returns the original value ofprop
. This line of code used to be`-webkit-${prop}`
but the-webkit
part was removed in PR #26.This PR restores the
-webkit
prefix, which works for me to getbackdrop-filter
working in MS Edge. There are a couple of things I'm unsure of though:USE_CLOUD
configuration and see what happens when it runs on Edge, or whether thebackdrop-filter
style is already included bygenerateFixture()
.-webkit
prefix was removed from the fallback in transition/transform fix, CI fix (secure value added) #26. That PR was about transition/transform, both of which have their own plugins, so I don't think theprefixed
plugin would be executed at all for those styles. This comment was also deleted at the same time:// E.g. appearance in Edge & IE Mobile needs a -webkit- prefix.
. Do you remember the context here @AleshaOleg ?