Re: [csswg-drafts] [cssom] Properties that allow access to parsed-but-invalid syntactic constructs (declarations, rules, etc) as a low-fi way to make polyfills easier (#13186)

> > A main point regarding polyfills is also how to handle features when they are implemented vs. when they are not. If I recall [@bramus](https://github.com/bramus)' argument correctly, the polyfill version should overrule the implemented version to avoid breaking a feature when it gets implemented with slightly different behavior.
> 
> I'm thinking the polyfill author should probably be the one in charge of deciding that, not the API.

I tend to agree with that. I think it depends very much on the size and complexity of the polyfill and the stability of the standardized feature whether or not the polyfill or the built-in feature should take precedence. And that's something the polyfill author should know best.

Sebastian

-- 
GitHub Notification of comment by SebastianZ
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13186#issuecomment-3765791132 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Sunday, 18 January 2026 21:59:46 UTC