Rich Harris
Rich Harris
I'll add SvelteKit to the list of frameworks that would definitely benefit from this — our best workaround is to monkey-patch the undici `Request` object's `formData` method, and create a...
Step 2 from that spec page: > If node’s parent is not null, remove node from its parent. In other words, a node cannot be adopted by multiple parents. It...
> I see the need for these operations As an app developer I would file the following under YAGNI: * Get length * Insert one or more sheets at arbitrary...
As an aside, it already feels odd that assigning an array to `document.adoptedStyleSheets` results in that array being frozen. Adding `add` and `remove` methods to it feels very surprising: ```js...
> It's not unique to `adoptedStyleSheets` at all No-one is claiming that. But 'this pattern is bug-prone anyway' isn't a reason to embrace it. An API along these lines wouldn't...
This is something that we'd like to implement: https://github.com/rollup/rollup/issues/1203 Does the proposal in that issue (returning a `{ code, map, dependencies }` object, or a promise that resolves to one)...
That actually happens already – whitespace inside either end of an element is removed: https://svelte.technology/repl/?gist=f4657520185203c009a9116568ac5ba2 The problems start when you have siblings separated by newlines: ```html Some inline newline separated...
Trouble is pug and JSX are different languages, so they can get away with different semantics. Svelte templates are just HTML (plus tags, blocks and directives), so from the user's...
Just rediscovered this issue via #1236. @adamhooper you make a strong case; the `` example is gnarly. I have a counter-example though — I see this sort of thing a...
Could we just check if `url.protocol === location.protocol`? Not sure why we're not already doing that to be honest