-
dawnahukanna Start expecting it? 😬 I don't know if it's something to protect against, as much as it's a reminder of what ":root" is actually for. It's not a simple replacement for the html/svg selectors - but for specifically for selecting/styling ANY outer document root.
-
dawnahukanna With this case specifically, I would expect that other ways of embedding the SVG (not as inline markup) might "contain" it. But mostly, I think we shouldn't be using :root unless this is the behavior we *want* from it. This is what it is meant to do.