Caleb Williams
Caleb Williams
@othermaciej I disagree. `isConnected` reports if a particular node is attached to some point in a DOM tree. The true analog would be to let stylesheets (constructed or modules) have...
@rniwa, That makes sense, but unless I've missed something (which is possible, you are certainly better prepared to make that sort of statement than I am), there's nothing about `connected`...
@zcorpan That actually makes a lot of sense. If you do `let style = document.createElement('style')`, the `style` object will have a property called `sheet` that is the `CSSStyleSheet` (or `StyleSheet`...
Assuming CORS works out (which should be the responsibility of the developer), why not just use `@import`? I know @rniwa has expressed concern about that in the web components issue...
Is there a reason a FrozenArray was chosen as the type as opposed to a [`StyleSheetList`](https://developer.mozilla.org/en-US/docs/Web/API/StyleSheetList)? Could that interface be modified to support for addition, removal and reordering of stylesheet...
Right, but the question was if it could be made to be more useful …
Yeah, I guess none of that actually answered the question of if `StyleSheetList` could be made to solve our current problem. If it exposes "no useful reading methods," what would...
Should this feature be a sort of `LinkedList`/`LinkedSet`? I realize there's no true analog for those concepts in JavaScript/DOM, but implementing that based on current JS should be fairly trivial...
@emilio, I like the thought, but that would require additional methods on `document` as well. Maybe `DocumentOrShadowRoot.adoptedStyleSheets.insertSheet`. Maybe to preserve current functionality, adoptedStyleSheets' setter could take any iterable of `CSSStyleSheet`s?
Unfortunately my example is on my company’s GitHub. What’s funny is when I was running the command without an outFile, I was seeing the right text. Adding outFile seemed th...