256 karma · joined February 17, 2022
0x1E Record Separator
0x1F Unit Separator t = document.createElement("template")
t.innerHTML = `<style id="outside"></style><svg><style id="inside"></style></svg>`
t.content.querySelector("#outside").sheet // null
t.content.querySelector("#inside").sheet // undefined
That means that the .sheet property is present on the style element, but not if it is inside an svg element.Why not use ProseMirror? It doesn't fix this issue, does it? At least in the demos on their website you cannot insert text at the beginning of a styled element. You cannot do it even in a native application (at least on macOS) without a custom handling of the selection.
How? No matter what I try, the insertion point is always before the bold element, and not inside it.
- [Photoshop blends by ben](https://www.shadertoy.com/view/XdS3RW)
- [Photoshop Blends Branchless by poljere](https://www.shadertoy.com/view/Md3GzX)
edit: as a silly point of reference, an hello world that writes the same headers and the same body on a 2016 intel macbookpro is able to serve 125k rps in bun, 145k rps in deno/flash and 140k rps in nodejs+uws.