Writing polyfills for CSS is much harder than it might seem. As a result, most polyfill authors today take shortcuts, which means the polyfills in widespread use are either too big, too slow, or too incorrect. Philip explores these challenges by writing a polyfill for a hypothetical new feature.
For more, check out Philip's very thorough blog post: https://philipwalton.com/articles/the-dark-side-of-polyfilling-css/