fix dom-style.get for IE11+, fixes #17962

(cherry picked from commit f5712e10969c16b14e591a2bec037758d6e86e9a)