News for hackers. Stuff that matters.
Re:Blitz: A lightweight, modular, extensible web renderer by satvikpendem on Monday August 12, 2024 @10:59AM (#41225188)
There's no reason extensions can't be made for it as well, HTML and CSS in the browser is just rendered via Skia anyway, so it's not much different to keep the renderer but change out the underlying languages. This is in fact exactly what Flutter does.
Re:Blitz: A lightweight, modular, extensible web renderer by mirkodrummer on Tuesday August 13, 2024 @03:45AM (#41233238)
How do you read text out of a bunch of pixels rendered on a canvas? Yes the dom is eventually rendered by Skia but still exposes an api for querying the underlying structure
Re:Blitz: A lightweight, modular, extensible web renderer by satvikpendem on Tuesday August 13, 2024 @08:33AM (#41234824)
Flutter also exposes the semantics tree via the DOM so you can actually still target elements, but yeah if you want to target the WebGPU elements, there needs to be a new API for that, which I believe there will be in the future because a lot of WebGPU renderer are coming out, in Dart, Rust, C#, etc.