Not working in IE10
See original GitHub issueThe polyfill docs say IE9+ is supported, but it doesn’t seem to be working on IE10. IE11 works fine. I’ll post an example below. Can someone let me know if I’m doing something wrong or missing anything? Thanks!
Doesn’t seem possible to view a JSFiddle or CodePen using IE. So follow the steps below to recreate the issue.
- Open IE
- Go to https://htmledit.squarefree.com/
- Open dev-tools and emulate IE10
- Paste the following code
<html>
<head>
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@1"></script>
<script>
// Call the polyfill
cssVars()
</script>
<style>
:root {
--color-red: red;
--color-blue: blue;
}
.testing-red {
color: var(--color-red)
}
.testing-blue {
color: var(--color-blue)
}
</style>
</head>
<body>
<div class="testing-red">Hello World - Red</div>
<div class="testing-blue">Hello World - Blue</div>
</body>
</html>
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
IE10 Why is javascript not working? - Microsoft Community
Method 1: I would suggest you to verify that Active Scripting, ActiveX, and Java are not being blocked by Internet Explorer · Note...
Read more >CSS flexbox not working in IE10 - Stack Overflow
This works fine in Chrome and Firefox. Please note that flex items should be display:block; in IE10. Use autoprefixer.
Read more >Not working in IE10 · Issue #277 · Splidejs/splide - GitHub
Hi! First of all, awesome slider. I've tried a lot of different ones, but like this one very much. Lots of options, keep...
Read more >Header Menu or Sidebar Not Working in IE10 and IE11
Are you using "preview" mode in your HTML software? Try opening your IE browser first then go to the problem webpage. Try emptying...
Read more >Right Click not working in IE10 - Articulate Storyline Discussions
The published version is on an company LMS (staging server), so it should work. The problem only occurs with IE 10 (I don't...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Correct. That’s what the IE10 window was meant to communicate. 😄
You bet.