Closed TaneliTuomola closed 6 months ago
Good suggestion. I would be happy to review and merge a PR for this. Right now I can't prioritize working on this myself.
@ghengeveld any plans to look at this feature in near future?
I don't have the bandwidth to do this right now. Happy to review and merge a PR though.
@ghengeveld I have put up PR #103 to address this and a number of shadow DOM problems. Please give it a review when you have the time. 😊
@m-akinc I was looking at your PR code, but wasn't able to determine does it also support @scope styles? https://developer.mozilla.org/en-US/docs/Web/CSS/:scope
... or this should be out of this PR scope 😉
@smitev Yes, it should support any CSS at-rules which contain other rules in curly braces.
@ghengeveld you had a chance to look at #103 ? Should we expect it in soon?
@smitev It was released in v2.2.0.
The add-on does not work with CSS styles that are inside of CSS @layer -statement. Only base level cssRules are handled but not cssRules from CSSLayerBlockRule.
https://developer.mozilla.org/en-US/docs/Web/CSS/@layer https://developer.mozilla.org/en-US/docs/Web/API/CSSLayerBlockRule