News for hackers. Stuff that matters.
Re:Kosmonaut: web browser from scratch in Rust by kodablah on Saturday August 15, 2020 @04:57PM (#24172341)
This is something that I had envisioned [0][1]. I haven't really worked on it lately, but one thing quickly became apparent: were it not for the Google-ification of AMP (e.g. how it's used, tags for ads, etc) they had the right idea. I think you can go a long way with a backwards compatible subset of HTML and CSS only taking the latest/best of both, disallowing JS, and having an explicit goal of ease of implementation.

0 - https://github.com/cretz/software-ideas/issues/92

1 - https://github.com/cretz/narrow

Re:Kosmonaut: web browser from scratch in Rust by elcritch on Saturday August 15, 2020 @05:09PM (#24172415)
Exactly, just a subset of only the modern elements of HTML & CSS with perhaps a simplified layout could go a long way. For example, if you're building a electron type application you don't need the whole gamut of HTML/CSS, but only a fast well supported subset, especially a subset that works well on GPU's. I've wondered if Servo could be useful for something like that.
Re:Kosmonaut: web browser from scratch in Rust by goto11 on Monday August 17, 2020 @05:24AM (#24185499)
I note you want to support table markup in HTML but you don't want to support table layout in CSS. How are tables supposed to be rendered then?