Web browser support


目录

New and existing Forgejo web UI features that affect usability of Forgejo should rely on browser features and APIs available in both:

For example, forgejo/forgejo#8859 couldn't rely on the new closedBy property of HTMLDialogElement because it was re-implementing an existing significant feature (modal dialogs) and closedBy was not yet supported by Firefox ESR. So not implementing a compatible JS function would break the ability of users to close the dialog by clicking outside of it on a supported browser, which would have been considered a newly introduced bug in Forgejo v13.0.0.

The latest Firefox ESR version can be calculated differently:

New features that do not affect usability can rely on browser features up to Baseline of last year is acceptable.

Feature oldness and non-standard features

It's up to the contributor to work on additional support beyond the minimally required platforms as long as such compatibility doesn't introduce:

However we do not welcome additional code that only exists to maintain compatibility with browser engines that have been completely officially discontinued, such as:

Vendor prefixes should be used strictly when necessarily. When a property is supported without vendor prefixes on the minimally required platforms, vendor-prefixed properties should not be used.


版本号 #2
由 壳壳虫 创建于 2026-10-31 13:34:40 UTC
由 壳壳虫 更新于 2026-10-31 13:34:41 UTC