Releases: GoogleChromeLabs/css-paint-polyfill
Releases · GoogleChromeLabs/css-paint-polyfill
3.4.0
What's Changed
- Fix shorthand property parsing by @developit in #27
- Bugfix: walk inline styles when initializing by @developit in #29
Full Changelog: 3.3.0...3.4.0
3.3.0
3.2.1
3.2.0
3.1.4
3.1.3
3.1.2
- Fix: workaround for external stylesheet imports in Firefox was being removed by Terser
- Prevent
data-css-paint
attribute from being removed by frameworks - Improve performance by only inspecting/tracking properties that can contain
paint()
references
3.1.1
3.1.0
This release contains a bunch of bug fixes for 3.0.1: npm install css-paint-polyfill@next
- Fix initial paint rules being ignored for some fully client-rendered applications (#16, fa3b266)
- Fix a crash when using
cloneNode()
to clone DOM trees containing painted elements (e60ca42) - Fix property values (
properties.get('x')
) containing leading whitespace in Safari (901fc5f, 25b45cd) - Optimization: don't maintain tracking info for CSS rules with no paint worklet references (455de1e)
- Fix element geometry being incorrect in Safari after an element is resized (bebf16f)
- Update painted elements in response to hover/pointer/animation events (25b45cd)
3.0.1
- Added support for detecting and applying paint rules in
@import
'ed stylesheets - Added support for paint rules in all forms of inline styles
- Improved performance by using ResizeObserver in Firefox & Safari
- Added polyfill for
CSS.supports()
- Added polyfill for
CSS.registerProperty()
- Added polyfills for
CSSpx(…)
and friends - Fixed numerous cases where paint geometry was not invalidated correctly
- Fixed DPI scaling in Firefox and Safari when swapping paint rules