Something went wrong. Try again.
Exploring the idea of generated web rendering engine.
Something went wrong. Try again.
Platform areas: how each is built and checked #
One row per platform area: what builds it, how it is checked, and whether that check
exists yet. (docs/oracle-coverage.md and docs/platform-economics.md count compat
entries instead.) Built by is the plan, not always the code. Oracle status is
working, planned (a documented strategy, not built) or none; undecided means the repo
takes no position. The cited docs, not this table, are the source of any number. The
section headings are read by oracle/suites/web-features-map.mjs, so renaming one breaks
the web-features map.
Parsing, DOM and components #
| Area | Built by | Check (oracle) | Oracle status | Notes |
|---|---|---|---|---|
| HTML parsing (tokenizer, tree construction) | Generated from spec text in the plan (roadmap.md → "Layering"); hand-written via html5ever today, as Phase 0 scaffolding |
Three-engine geometry vote's shape check (tag/depth/parent sequence, compare.rs) |
Working | html5ever is linked for now, not yet a generation target. |
| DOM core and events | Generated from spec text in the plan; hand-written substrate today (crates/dom) |
Computed-style and box-existence checks (Phase 1 steps 1–2); trace vote for event order (docs/dump-format.md → "Probes") |
Working, narrowly — those two checks are measured; broader DOM method semantics have no oracle yet | docs/platform-economics.md counts DOM in the ~48% deterministic in-page API bucket. |
| Web components (custom elements, shadow DOM, slots) | Undecided | None yet | None | Shadow DOM is explicitly stubbed (roadmap.md → "DOM layer, shaped by Stylo": "shadow DOM left as todo!()"). |
Style, layout and rendering #
| Area | Built by | Check (oracle) | Oracle status | Notes |
|---|---|---|---|---|
| CSS style and cascade | Linked, via Stylo (roadmap.md → "Layering") |
Computed-style comparison against getComputedStyle (style subset, docs/dump-format.md) |
Working — 2958/2958 comparable style values matched (roadmap.md → "Phase 1" step 1) |
Risk of the Stylo dependency assessed in docs/stylo-risk.md. |
| Layout modes (block, inline, flex, grid, table, multi-column, positioned) | Generated from spec text, one rule at a time as generated functions behind hand-written code (roadmap.md → "Layering", "Phase 1" step 4; docs/generated-functions.md); the box and fragment trees are hand-written |
Three-engine geometry vote, 1/60 px tolerance (compare::vote, docs/geometry-verification.md) |
Working for block layout, floats, absolute and relative positioning: 227/227 on the recipe corpus, 11/11 held-out WPT pages, each generated function at its floor on its own corpus; inline, flex, grid, table and multicol not started | docs/platform-economics.md estimates layout at roughly half of CSS property entries. |
| Painting, compositing, animations (CSS, Web Animations, scroll-driven) and scrolling | Paint order generated from spec text as the stacking-order generated function (crates/layout/src/stacking.rs, specs/stacking-order.md); rasterization undecided, GPU rasterization is linked (wgpu/vello, roadmap.md → "Layering"); animations are stubbed in Phase 0 |
Three-engine vote over document.elementsFromPoint paint order at chosen points, exact-match, no tolerance (docs/dump-format.md → "Stacking probe", trace::vote_stacking) |
Working for paint order of opaque block and absolutely positioned boxes: 105/105 probe points agreed across all three engines on the nine-category stacking corpus (crates/harness/src/stacking_cases.rs), 0 dropped. Pixels, compositing, animation and scrolling still have no oracle |
A screenshot sweep for pixel-snapped paint noise was inconclusive (docs/firefox-app-units.md → "What did not diverge"). |
Text and internationalization #
| Area | Built by | Check (oracle) | Oracle status | Notes |
|---|---|---|---|---|
| Text rendering (font loading and fallback, shaping, line breaking and hyphenation, glyph rasterization) | Linked (HarfBuzz for shaping, font parsing; roadmap.md → "Layering") |
None yet | None | Text is deliberately excluded from Phase 0 (roadmap.md → "Decisions"); Playwright's WebKit font substitution is flagged as a future confound (docs/firefox-app-units.md → "Caveats"). |
| Internationalization (Intl, locale data, bidi, vertical writing, IME) | Undecided | None yet | None | Bidi and shaping are excluded from Phase 0 alongside text; logical (not bidi/vertical-writing/IME) axes are a substrate design principle (roadmap.md → "Substrate contract"). |
Images, SVG, math and print #
| Area | Built by | Check (oracle) | Oracle status | Notes |
|---|---|---|---|---|
| Images and SVG (decoding, color management) | Undecided; SVG excluded from Phase 0 (roadmap.md → "DOM layer, shaped by Stylo": "no MathML or SVG") |
None yet | None | docs/platform-economics.md counts SVG among the generatable-from-prose estimate, but nothing is built. |
| MathML | Undecided; excluded from Phase 0 alongside SVG | None yet | None | 134 mathml compat entries are counted in docs/platform-economics.md's totals. |
| Printing and paged media | Undecided | None yet | None | Not discussed elsewhere in the repo. |
Input, forms, editing and accessibility #
| Area | Built by | Check (oracle) | Oracle status | Notes |
|---|---|---|---|---|
| Input (pointer, touch, keyboard, focus, gestures) | Undecided | Fake-device hooks named generically (testdriver.js, WebDriver BiDi extensions), not wired to input | None | docs/oracle-coverage.md → "Four kinds of oracle" item 2. |
| Forms and form controls | Undecided | None yet | None | — |
| Editing (contenteditable, selection, clipboard, drag and drop, undo) | Undecided | None yet; the trace oracle's event/object-structure voting could apply but is not built for this area | None | docs/dump-format.md → "Trace protocol". |
| Accessibility (accessibility tree, ARIA mapping, platform accessibility APIs) | Undecided | None yet | None | browser-compat-data does not count accessibility at all (docs/platform-economics.md → "Where it breaks down"); ARIA is named as a "busy spec without an oracle-backed engine role" (docs/spec-change-flow.md → "Volume"). |
Script execution and workers #
| Area | Built by | Check (oracle) | Oracle status | Notes |
|---|---|---|---|---|
| JavaScript engine | Linked (candidate: Boa, or bindings to an existing engine; roadmap.md → "Layering") |
test262, named as a reference-quality suite | None built | docs/oracle-coverage.md, docs/platform-economics.md. |
| WebAssembly | Undecided | None yet | None | The Wasm reference interpreter is cited as prior art for a verified-interpreter oracle Wasmtime dropped in favor of speed (docs/logic-layer.md), not as something nev has adopted. |
| Workers (dedicated, shared, service, worklets) | Undecided | None yet | None | Service workers fall in the "needs server or multi-origin infrastructure" bucket (docs/platform-economics.md → "API entries by oracle"). |
Networking and storage #
| Area | Built by | Check (oracle) | Oracle status | Notes |
|---|---|---|---|---|
| Networking (fetch, CORS, WebSocket, WebTransport, WebRTC, caching) | Undecided | WPT vote table for pass/fail scoring (crates/wpt-votes); WebRTC additionally has a documented but unbuilt strategy (loopback RTCPeerConnection, fake capture devices, getStats; docs/oracle-coverage.md → "By domain") |
Planned for WebRTC (~60% estimated coverage, not implemented); WebTransport named a "busy spec without an oracle-backed engine role" (docs/spec-change-flow.md) |
— |
| Storage (IndexedDB, Cache API, cookies, OPFS, storage quotas) | Undecided | None yet; falls in the "needs server or multi-origin infrastructure" bucket | None | docs/platform-economics.md → "API entries by oracle". |
Media and graphics #
| Area | Built by | Check (oracle) | Oracle status | Notes |
|---|---|---|---|---|
| Media (audio, video, MSE and EME, codecs, Web Audio, WebCodecs, media capture) | Linked (named explicitly as staying linked; roadmap.md → "Decisions": "a generated core behind linked subsystems") |
Fake-media launch profile plus trace vote (docs/dump-format.md → "Launch profiles", "Trace protocol"); WPT webaudio/media plus reference-library MD5s (Fluster) documented per sub-area (docs/oracle-coverage.md → "By domain") |
Working for the media launch profile and its probes (15 of 18 engine pairs agree; the three disagreements are a real platform difference, docs/dump-format.md → "Probes"); Web Audio conformance is also Working, 74.4% usable (85.6% excluding tentative; 92.7% for offline rendering, docs/conformance-oracles.md); broader codec/MSE/EME conformance suites not landed |
— |
| Graphics (canvas 2D, WebGL, WebGPU) | The generated layer would be a binding/validation/state-machine shell over linked ANGLE/Dawn/wgpu — "oracled is not generatable" (docs/oracle-coverage.md); GPU rasterization itself is linked |
WPT canvas, the Khronos WebGL conformance suite, the WebGPU CTS via dawn.node (docs/oracle-coverage.md → "By domain") |
Working — canvas 2D 82.6% usable (92.7% excluding tentative), WebGL 99.6% (docs/conformance-oracles.md); WebGPU about 85% exact for validation and about 50% within ULP tolerance for numeric execution (docs/webgpu-cts.md) |
— |
Devices and hardware #
| Area | Built by | Check (oracle) | Oracle status | Notes |
|---|---|---|---|---|
| Device and hardware APIs (Bluetooth, USB, Serial, HID, NFC, sensors, geolocation, gamepad, WebXR, screen wake lock, battery) | Undecided | Fake-device hooks (BiDi Bluetooth module and CDP BluetoothEmulation, WPT's Mojo-coupled USB/HID/serial/NFC mocks, Linux virtual devices in a VM, virtual sensors, geolocation override; docs/oracle-coverage.md → "By domain") |
Planned — CDP-only emulation is explicitly not implemented yet (docs/dump-format.md → "Launch profiles", "Not yet supported") |
— |
Navigation #
| Area | Built by | Check (oracle) | Oracle status | Notes |
|---|---|---|---|---|
| Navigation (history, session history, bfcache, prerender) | Undecided | None yet | None | Not discussed elsewhere in the repo. |
Security #
| Area | Built by | Check (oracle) | Oracle status | Notes |
|---|---|---|---|---|
| Security model (origins, CSP, sandboxing, permissions, site isolation and process model) | Undecided | WPT vote table's security-and-permission-UI slice for scoring (docs/wpt-votes.md, docs/oracle-coverage.md); the oracle's own trace server establishes a secure context for testing (docs/dump-format.md → "Origin") |
Working only for WPT scoring of that slice, not for generation; process isolation itself has no oracle strategy | browser-compat-data does not count process isolation at all (docs/platform-economics.md → "Where it breaks down"). |
App-level APIs #
| Area | Built by | Check (oracle) | Oracle status | Notes |
|---|---|---|---|---|
| App-level APIs (notifications, push, payments, WebAuthn and credentials, web app manifest) | Undecided | Fake-device/reference-library hooks documented per sub-area (virtual authenticator plus an independent verifier, FedCM testdriver plus wptserve identity providers, local autopush-rs with RFC 8291 decryption; docs/oracle-coverage.md → "By domain": "Identity, payments, push") |
Planned — documented strategy (~40–85% estimated coverage), not implemented; webauthn named a "busy spec without an oracle-backed engine role" (docs/spec-change-flow.md) |
— |
Performance #
| Area | Built by | Check (oracle) | Oracle status | Notes |
|---|---|---|---|---|
| Performance and timing APIs | Undecided | Ordering/monotonicity/coarsening-bounds voting documented (docs/oracle-coverage.md → "By domain": "Timing"); the trace oracle's timing-entry structure and ordering check is the same mechanism generically (docs/oracle-coverage.md → "Four kinds of oracle" item 4), but no dedicated timing probe is built |
Planned | browser-compat-data does not count performance at all (docs/platform-economics.md → "Where it breaks down"). |
Tooling and embedding #
| Area | Built by | Check (oracle) | Oracle status | Notes |
|---|---|---|---|---|
| Automation and devtools (WebDriver BiDi) | Not a generation target — it drives an engine under test rather than being part of one | None yet | None | The oracle side currently drives Chromium, Firefox and WebKit through Playwright, not through WebDriver BiDi directly (oracle/oracle.mjs); running WPT against nev's own engine would need this once an engine under test exists. |
| The embedding API (the engine's own API for host applications) | Hand-written, once it exists (roadmap.md → "Layering": "Hand-written once") |
None yet | None | Separable boundaries for a configurable build are identified but not built (roadmap.md → "Phase 4 — Configurable engine builds"). |