News for hackers. Stuff that matters.
Re:Show HN: Vaev – A browser engine built from scratch (It r... by userbinator on Sunday May 18, 2025 @05:30PM (#44024442)
The subset could just be an older version of the spec, e.g. HTML 4.01 and CSS 2.1.

(My opinion as another one who has been slowly working on my own browser engine.)

Re:Show HN: Vaev – A browser engine built from scratch (It r... by robocat on Sunday May 18, 2025 @06:48PM (#44024884)
Pick a subset aimed directly at accessibility.

The least-needed features are often accessibility nightmares (e.g. animation - although usually not semantic).

The accessible subset could then be government standardized and used as a legal hammer against over-complex HTML sites.

For a while search engines helped because they encouraged sites to focus on being more informative (html DOCUMENTS).

I think web applications are a huge improvement over Windows applications, however dynamic HTML is a nightmare. Old school forms were usable.

(edited to improve) Disclosure: wrote a js framework and SPA mid 00's (so I've been more on the problem side than the solution side).

Re:Show HN: Vaev – A browser engine built from scratch (It r... by GoblinSlayer on Monday May 19, 2025 @11:39AM (#44030991)
Styles can be provided as client-side dependencies instead of free form CSS:

   <meta name="dependencies" content="mathjax/1.1 highlightjs/2.0 navbar/5.1"/>
then browser decides how to resolve them.
Re:Show HN: Vaev – A browser engine built from scratch (It r... by poisonborz on Sunday May 18, 2025 @06:03PM (#44024625)
That's easy to specify but contains a lot of bloat and unused features. A slimmer but more modern set would be useful.
Re:Show HN: Vaev – A browser engine built from scratch (It r... by ghayes on Sunday May 18, 2025 @06:00PM (#44024611)
I feel like some of the newer standards like CSS Grid instead of tables might be the best way to go. Many HTML/CSS improvements were not just bloat but actually better standards to build on.
Re:Show HN: Vaev – A browser engine built from scratch (It r... by edoceo on Sunday May 18, 2025 @06:37PM (#44024807)
Right! Crazy fonts or cursors, not on smolweb (as another use put it) but Flex and Grid are almost necessary. There are loads of things that could be dropped (it feels like).

I just want one of these browsers to give me a proper ComboBox (text, search and drop-down thing)

Re:Show HN: Vaev – A browser engine built from scratch (It r... by userbinator on Sunday May 18, 2025 @07:09PM (#44024982)
You still need to have tables.
Re:Show HN: Vaev – A browser engine built from scratch (It r... by dmd on Sunday May 18, 2025 @07:42PM (#44025158)
And <marquee>, of course.
Re:Show HN: Vaev – A browser engine built from scratch (It r... by WorldMaker on Monday May 19, 2025 @12:09PM (#44031340)
But the rendering engine might be easier to build with TABLE as a specialization of CSS Grid layout rendering rather than the slow real world work of CSS Grid being a generalization of TABLE rendering.
Re:Show HN: Vaev – A browser engine built from scratch (It r... by shakna on Monday May 19, 2025 @02:15AM (#44026920)
From accessibility background: Please stop using CSS for table data. It does not translate to my screenreader.
Re:Show HN: Vaev – A browser engine built from scratch (It r... by notpushkin on Monday May 19, 2025 @02:30AM (#44026990)
Yes, but grids are everywhere in the UIs, not just the tables. In 2000-s, the problem was the opposite of what we have now: every interface was a table full of tables, because there was no other way to position things reliably.

But now we have best of both worlds: use <table> for the actual tables, and CSS grid for UI layouts.

Re:Show HN: Vaev – A browser engine built from scratch (It r... by stevage on Sunday May 18, 2025 @07:50PM (#44025202)
But older versions contain lots of crap we don't need (eg <blink> tags) and miss out on useful stuff (grid layout).
Re:Show HN: Vaev – A browser engine built from scratch (It r... by 5- on Sunday May 18, 2025 @06:29PM (#44024768)
> slowly working on my own browser engine

care to tell us more?

Re:Show HN: Vaev – A browser engine built from scratch (It r... by Inviz on Sunday May 18, 2025 @10:17PM (#44026019)
Cat is out of the bag. nobody wants their CSS without flexbox anymore. It has to include that.
Re:Show HN: Vaev – A browser engine built from scratch (It r... by WorldMaker on Monday May 19, 2025 @12:13PM (#44031377)
Everything flexbox can do, CSS Grid can do, with easier/better/cleaner support for the second axis. At this point, I'd be interested in dropping flexbox entirely for CSS Grid.

("I don't need to worry about the second axis" seems to be a "not thinking fourth dimensionally enough" excuse to me today. You haven't considered enough responsive breakpoints or you haven't considered future features or future expanded data or future localizations, yet.)

Re:Show HN: Vaev – A browser engine built from scratch (It r... by sn0n on Monday May 19, 2025 @02:38AM (#44027027)
Why not start with what is required for markdown formatting? Then build out from there.
Re:Show HN: Vaev – A browser engine built from scratch (It r... by nulld3v on Monday May 19, 2025 @07:07AM (#44028487)
Sounds kinda like DOM levels: https://en.wikipedia.org/wiki/Document_Object_Model#Standard...

Well, until everybody just gave up and declared it a "Living Standard".

I think we do still need something like this, but I worry that basing it on versions of the spec is just repeating the same DOM levels mistake.

Re:Show HN: Vaev – A browser engine built from scratch (It r... by GoblinSlayer on Monday May 19, 2025 @07:18AM (#44028547)
Sites often get that wrong. I'd say support motherfuckingwebsite.com subset: <p>, <a>, <h*>, <img>, <ruby> (i.e. markdown/gemini++) and do everything else with webcompat/fixbrowser way.