4 ms·
Yup that's more or less the only way I have seen in the wild. The Scoped Polyfill https://github.com/PM5544/scoped-polyfill https://github.com/PM5544/scoped-po
by aleem 12y ago
Yup that's more or less the only way I have seen in the wild.
The Scoped Polyfill https://github.com/PM5544/scoped-polyfill https://github.com/PM5544/scoped-polyfill does just this and gets you most of the way there.
> It does so by prepending the styleRules selectorText with id's