cq-prolyfill
cq-prolyfill copied to clipboard
Use CSS Houdini (CSS Typed OM Level 1) to get the computed style
Use getComputedStyleMap(element).get(prop) in getOriginalStyle() if available and skip buildStyleCache(). This will be a big performance improvement for browsers with Houdini support.
window.getComputedStyleMap(element) was changed to element.computedStyleMap()