Closed angel-git closed 3 years ago
Hi @angel-git --
A fix for this issue is now available on a separate branch: https://github.com/jhildenbiddle/css-vars-ponyfill/tree/fix-146.
I have one other fix that I'd like to integrate into the next patch release (for #144). As soon as I get confirmation that the other fix is working as expected, I'll publish a new patch release with both fixes. In the meantime, feel free to checkout the fix-146
branch to verify that it resolves your issue (is should).
Thanks!
ah great, you made same changes as i was testing with:
if (settings.preserveStatic && node.sheet) {
node.sheet.disabled = true;
}
var isStyle = node.nodeName.toLowerCase() === "style";
i can confirm the fix works for me 50% as we also need the fix for https://github.com/jhildenbiddle/css-vars-ponyfill/issues/144, with both i can get css variables working inside the svg under IE11 👍
@angel-git --
Interesting that you're also waiting on #144. Any chance you can take that branch for a test drive and report back as well? See that thread for details. The sooner I get a thumbs up/down on #144, the sooner I can release a new version with both fixes.
Thanks!
Yes without #144 i'm getting undefined
on: node.sheet.disabled = true;
I merged both branches into one and now works fine for me. Tested on Chrome, ie11 and edge42 (legacy one)
So thumbs up! 👍
Fixed in 2.4.2. 🎉
Hi, I'm facing the following issue, on the https://codepen.io/jhildenbiddle/pen/ZxYJrR/ if i change the html main with:
The output shows us:
Why is being skipped? I'm trying to use this svg on IE11 but the value
fill: var(--icon-bg, #e1e1e1);
is not being picked up.Thank you for your great tool!