News for hackers. Stuff that matters.
Re:Show HN: Vaev – A browser engine built from scratch (It r... by fshafique on Monday May 19, 2025 @02:14AM (#44026917)
No interactivity! The email must be printable as-is. Not even CSS code to change styles when you hover over links. That's what I would for a minimum HTML for emails standard that's widely supported.
Re:Show HN: Vaev – A browser engine built from scratch (It r... by notpushkin on Monday May 19, 2025 @02:26AM (#44026974)
It’s actually a bummer: you can’t use a <style> tag because some email clients don’t like them. Instead, you have to inline your styles in every element. the lack of :hover is just a side effect of that I think (although it plays out nicely here).

(While on it, can we also ban loading images from third-party servers?)

Re:Show HN: Vaev – A browser engine built from scratch (It r... by MrLeap on Monday May 19, 2025 @06:49AM (#44028378)
you sure can if we resolve to make a text editor instead of a web browser!
Re:Show HN: Vaev – A browser engine built from scratch (It r... by notpushkin on Monday May 19, 2025 @07:01AM (#44028439)
Hmm, that might not be a bad idea! We could ban CSS altogether: just leave some markup tags, maybe whatever you can do in Markdown + tables. No colors, no small print, no images. (We could even use something like gemtext as the format instead of HTML, but that wouldn’t be backward compatible with clients.)

But I don’t see any email clients with somewhat significant market share going through with this :(

Re:Show HN: Vaev – A browser engine built from scratch (It r... by OJFord on Monday May 19, 2025 @01:14PM (#44032111)
I'm confused, we're talking about browsers, and comment I replied to suggested 'email + interactivity' as a standard for minimal browsers. I wasn't suggesting adding JS execution to emails. (I don't even allow remote images personally.)