-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Block Library: Remove CSS hack for Internet Explorer 11 #62043
Conversation
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
Size Change: -200 B (-0.01%) Total Size: 1.74 MB
ℹ️ View Unchanged
|
Nice, thank you for your attention to detail. |
Part of #58034
Similar to #60727
What?
This PR removes the fallback CSS for IE11 present in the
@wordpress/block-library
package. The CSS hack for IE11 in this package is only present in the Cover block.Why?
Support for IE11 has been officially removed in WordPress 5.8. And since the Gutenberg plugin no longer supports WordPress 5.8, we can remove the fallback code for IE11.
Additionally, the
after
pseudo-element of the block is used for outlines, so this CSS hack for the cover block may have implications in the future.How?
Just removed.
Testing Instructions
This PR does not change the behavior of the Cover block, but please be sure to check that the issue fixed in #44707 is not regressing. That is, the focus outline should exactly match the size of the cover image.