Browser support
Which browsers a WebFluent site targets, and what each newer platform feature falls back to where it is missing.
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 (ES2020); there is no polyfill and no legacy build.
A static build's pages are readable with no JavaScript at all; everything interactive needs it.
Features with a fallback
| 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, |
Everywhere current; without it, elements appear and leave without motion |
|
|
|
The animation plays at once |
| Background Sync | writes kept offline, sent after the tab closes | 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 |
|
|
|
|
|
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 and Dialog use the <dialog> element and showModal(), which every current browser has. Validation uses the browser's constraint validation alongside the language's rules.
Checked by the test suite
Every code block in the guide is parsed, checked and type-checked on each release.