-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does not work in Firefox at all #13
Comments
Is the typo in the article intentional?
|
Ok, understood. |
@alexey-milovidov it's possible to use a polyfill, but unfortunately it's now a 100% protection https://github.com/PavelLaptev/squircle-houdini-css#use-css-paint-polyfill |
You can use @supports something like
|
Just some more info, as I poked around with it today. I'm using Firefox 109.0.1 and it's failing in this function parseCss(css) {
let parent = styleIsolationFrame.contentDocument.body;
let style = document.createElement('style');
style.media = 'print';
style.$$paintid = ++styleSheetCounter;
style.appendChild(document.createTextNode(css));
parent.appendChild(style);
style.sheet.remove = () => parent.removeChild(style);
return style.sheet;
} It's throwing an error at the |
98.0.2 (64-bit)
Mozilla Firefox for Ubuntu
The text was updated successfully, but these errors were encountered: