cq-prolyfill icon indicating copy to clipboard operation
cq-prolyfill copied to clipboard

Use CSS Houdini (CSS Typed OM Level 1) to get the computed style

Open ausi opened this issue 8 years ago • 1 comments

Use getComputedStyleMap(element).get(prop) in getOriginalStyle() if available and skip buildStyleCache(). This will be a big performance improvement for browsers with Houdini support.

ausi avatar Jun 08 '17 09:06 ausi

window.getComputedStyleMap(element) was changed to element.computedStyleMap()

ausi avatar Feb 17 '18 14:02 ausi