Reference
Reference
Browser support
Which browsers a WebFluent site targets, and what each newer platform feature falls back to where a browser lacks it.
This page lists the browsers a WebFluent site targets, and what each newer platform feature the runtime uses falls back to where a browser lacks it.
Supported browsers
A WebFluent site targets the current versions of Chrome, Edge, Firefox and Safari, on desktop and mobile — the browsers that update themselves.
- The output is plain HTML, CSS and modern JavaScript (ES2021). There is no polyfill and no legacy build.
- Without JavaScript, a static build's pages are readable: the HTML the build pre-renders for each page carries its text (Static sites and SPAs). Everything interactive needs JavaScript.
Tip
wf verify loads every page of a build in a headless Chrome and reports uncaught errors, failed requests and pages that drew no text (CLI).
Features with a fallback
Where a browser lacks one of these features, the site still works; the last column says what changes.
| Feature | Used for | Where it is missing |
|---|---|---|
| View Transitions API |
|
The class-based transition plays instead; |
|
|
|
The browser ignores it and uses its default easing |
| Web Animations API |
enter, exit, list moves, |
Present in every current browser; without it, elements appear and leave without motion |
|
|
|
The animation plays at once; the links are listed, none marked |
|
|
|
A script grows the box with its text instead |
| Background Sync |
writes kept offline (a |
The page sends them the next time it is open and online |
| Service workers |
|
The site works online as usual |
| WebRTC |
|
The peer reads |
|
|
|
The channel reads |
| Network Information API |
|
They read as a fast line: |
|
|
|
The build's own table for the common locales |
| Container queries |
|
Passed through as written; the rule does not apply |
|
|
focus rings | Focus rings on every focus |
Dialogs and forms
Modal, Dialog, AlertDialog and Sheet use the <dialog> element and showModal(), which every current browser has. Form validation uses the browser's constraint validation alongside the language's own rules (Forms).