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

[CSS] Update CSS as -ms-high-constrast is in the process of being deprecated #3062

Open
KiddoV opened this issue Jun 27, 2024 · 2 comments
Open
Labels
browser/ie Any issues relating to Internet Explorer lang/css Anything involving CSS type/chore Anything which is a project chore type/usage Any support issues asking for help
Milestone

Comments

@KiddoV
Copy link
Contributor

KiddoV commented Jun 27, 2024

Bug Report

Please do not use -ms-high-constrast in CSS any more since it will be deprecated.
See:
https://blogs.windows.com/msedgedev/2024/04/29/deprecating-ms-high-contrast/

Currently my console has a lot of this annoying warning.

[Deprecation] -ms-high-constrast is in the process of being deprecated. Please see https://blogs.windows.com/msedgedev/2024/04/29/deprecating-ms-high-contrast/ for tips on updating to the new Forced Colors Mode standard.

Screenshot (if possible)

warning

@KiddoV KiddoV added state/awaiting-investigation Anything which needs more investigation state/awaiting-triage Any issues or pull requests which haven't yet been triaged type/bug Any issue which is a bug or PR which fixes a bug labels Jun 27, 2024
@lubber-de
Copy link
Member

lubber-de commented Jun 29, 2024

This setting is only used (3 times in total) to detect IE11 via

@media all and (-ms-high-contrast: none) {
/* IE 11 specific code*/
}

All IE11 related code will be removed in 2.10 as decided by the community

if you want to have it removed earlier, change the LESS variable

to

@supportIE: false;

and rebuild Fomantic.

@lubber-de lubber-de added lang/css Anything involving CSS type/chore Anything which is a project chore and removed type/bug Any issue which is a bug or PR which fixes a bug state/awaiting-investigation Anything which needs more investigation state/awaiting-triage Any issues or pull requests which haven't yet been triaged labels Jun 29, 2024
@lubber-de lubber-de added this to the 2.10.x milestone Jun 29, 2024
@lubber-de lubber-de added browser/ie Any issues relating to Internet Explorer type/usage Any support issues asking for help labels Jun 29, 2024
@KiddoV
Copy link
Contributor Author

KiddoV commented Jul 2, 2024

Since I use FUI via NPM, I will wait for v2.10 then. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
browser/ie Any issues relating to Internet Explorer lang/css Anything involving CSS type/chore Anything which is a project chore type/usage Any support issues asking for help
Projects
None yet
Development

No branches or pull requests

2 participants