I am migrating a functionality for importing Icons into powerpoint from an Internet Explorer based solution to a more modern solution, as the Internet Explorer is no longer available. For this I am currently implementing a WebView2 based approach.
For this I have an Icon2.html (and the code coming with it), which when opened as a File like this, will not allow me to change the color of the Icon in the preview, here the preview icon should be orange. The Html Page uses a modified version the spectrum Color Picker for picking colors.
As the functionality was originally conceived for the Internet Explorer, the functionality works fine when launched in the Microsoft Edge using Internet Explorer Mode. A peculiar thing is however, that when I use the VSCode Live Server Extension to launch the Icons2.html as a Live Server, the color changes perfectly fine on a modern Browser. I did test the Html with the Edge-, Firefox- and the Chrome Browser (as well as asking a colleague, the problem isn't local),so it does seem like the Live Server does something to help.
As I do not have much experience using Html, Javascript and CSS, hints on where to start looking would be greatly appreciated.