3 ms·
This gives you an upper bound on your scope, but for safe composable styles you also need a lower bound. Only Shadow DOM really gives you that. You can simulat
by spankalee 11y ago
This gives you an upper bound on your scope, but for safe composable styles you also need a lower bound. Only Shadow DOM really gives you that.
You can simulate it with some significant markup and CSS pre-processing, but it's tricky. Polymer does this with it's templates.