This repository was archived by the owner on Apr 19, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 20
Releases: GoogleChromeLabs/css-paint-polyfill
Releases · GoogleChromeLabs/css-paint-polyfill
3.4.0
@developit
developit
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
Assets 2
7 people reacted
3.3.0
3.2.1
3.2.0
3.1.4
@developit
developit
3.1.4
Pre-release
Pre-release
- Fix incorrect width/height calculations in browsers without borderBoxSize support
- Fix ResizeObserver dimensions in Firefox, which returns a single borderBoxSize instead of an Array
Assets 2
3.1.3
3.1.2
@developit
developit
3.1.2
Pre-release
Pre-release
- Fix: workaround for external stylesheet imports in Firefox was being removed by Terser
- Prevent
data-css-paintattribute from being removed by frameworks - Improve performance by only inspecting/tracking properties that can contain
paint()references
Assets 2
3.1.1
@developit
developit
3.1.1
Pre-release
Pre-release
- Fix scanning of dynamically inserted stylesheets with
@import's in Firefox - Fix detection of paint rules defined in static HTML attributes in Firefox & Safari
Assets 2
3.1.0
@developit
developit
3.1.0
Pre-release
Pre-release
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)
Assets 2
3.0.1
@developit
developit
3.0.1
Pre-release
Pre-release
- 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