Bez generates a browser engine from specs and tests

Bez: Generating a browser engine from specs and tests

Bez generates a browser engine from specs and tests

Bez is a project that generates a web rendering engine from specifications, using the three major browsers and WPT as tests. The goal is to make building a browser engine cheap enough that many can exist, not just a few. Early results show generated CSS layout rules pass all 227 test cases, and three-browser voting can identify real compatibility bugs like Firefox's 1/60px rounding.

Building a web engine by hand costs hundreds of engineers and many years, so only a few companies can have one, and only they decide how the web works.
  1. Alacart

    This makes a ton of sense to me with the huge corpus of web standards that exist. In theory we should be able to generate a browser from those specs, it just took a massive amount of effort before. Maybe if things like this get some traction, some of the human time spent implementing the spec could be spent on creating more/better specs, allowing for even better generation too.

    Edit: replies are making good points about AI capabilities and where the effort really goes. Let’s just say that I meant this in an aspirational sense, rather than where the rubber actually meets the road today.

  2. fouc

    I'm looking forward to the day when we have fully functioning web browsers that we have full programmatic control over in all aspects.

    With luck all chromium/blink-based browsers will go the way of the dodo bird.

  3. esprehn

    Very cool idea, though I think we're a long way away from this. Hopefully they file bugs on the specs when they find ambiguities.

    Also the specs are written to define observable behavior, and there's a fair bit of ambiguity that's UA defined, but to be actually compatible with the Web requires doing what Chrome does.

    The good news is that you can look at the source of the 3 major engines (and Ladybird!) and your AI agent can do comparisons and figure out optimizations.

  4. helpprotactiniu

    Is this named like Jev intentionally? Or is this just a new naming convention that I haven't been watching?

  5. mircerlancerous

    This is a neat idea. It opens up a whole new way to make a web app into a native app, while also adding native features not available in web views

More from this day

2026-10-01