If we consider the following scenario:
var e = document.getElementById("someElement");
e.style.borderColor = "gold";
e.style.background = "yellow";
e.style.padding = "5px";
// more style changes made through javascript
It's possible that additional styles were applied either inline or from an external CSS file.
Is there a way to completely remove all styles applied by Javascript? Perhaps something like e.style.* = inherit
or
e.removeJavaScriptAppliedStyles()
.