---
title: "Never too late for Firefox 88"
description: "Firefox 88 adds the CSS :user-valid and :user-invalid pseudo-classes, which apply form validity styling only after the user leaves a field."
url: "https://swe.quest/articles/never-too-late-for-firefox-88-69478850ac7be10f"
canonical: "https://hacks.mozilla.org/2021/04/never-too-late-for-firefox-88/"
source: "Mozilla Hacks"
published: "2021-04-19"
difficulty: "medium"
kind: "Release"
reading_minutes: 3
tags: ["browsers","css","javascript","frontend"]
---

# Never too late for Firefox 88

A post on [Mozilla Hacks](https://swe.quest/sources/mozilla-hacks.md), published 2021-04-19, 3 min read, Release. Original: [https://hacks.mozilla.org/2021/04/never-too-late-for-firefox-88/](https://hacks.mozilla.org/2021/04/never-too-late-for-firefox-88/)

## Summary

Firefox 88 adds the CSS :user-valid and :user-invalid pseudo-classes, which apply form validity styling only after the user leaves a field. This avoids the jarring invalid state that :valid/:invalid show while someone is still typing. The release also ships CSS image-set() for resolution-dependent images in background-image, content and cursor, and makes outline follow border-radius while removing -moz-outline-radius. It adds RegExp match indices via the d flag and hasIndices, and disables FTP for security, with full removal planned for Firefox 90.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Browsers](https://swe.quest/tags/browsers.md) (Web & mobile)
- [CSS](https://swe.quest/tags/css.md) (Web & mobile)
- [JavaScript](https://swe.quest/tags/javascript.md) (Languages)
- [Frontend](https://swe.quest/tags/frontend.md) (Web & mobile)

## Prerequisites

- CSS selectors ([easy posts on CSS](https://swe.quest/tags/css.md?difficulty=easy))
- JavaScript regular expressions ([easy posts on JavaScript](https://swe.quest/tags/javascript.md?difficulty=easy))

## Keywords

Firefox 88, :user-invalid, image-set(), RegExp match indices, FTP, border-radius

## Related posts

- [WebKit Features in Safari 16.5](https://swe.quest/articles/webkit-features-in-safari-16-5-78f214007552b969.md): WebKit · 2023-05-18 · Easy · 4 min read · Browsers, CSS, Frontend
  Safari 16.5 is mainly a polish and bug-fix release that adds CSS Nesting, the :user-valid and :user-invalid pseudo-classes, Apple Pay support for pre-orders and deferred payments, and disabling of the WebCodecs API in Lockdown Mode.
- [In March, we see Firefox 87](https://swe.quest/articles/in-march-we-see-firefox-87-89133003c9c65b13.md): Mozilla Hacks · 2021-03-23 · Medium · 4 min read · Browsers, Privacy, Developer tools, Accessibility
  Firefox 87 enables the beforeinput event and InputEvent.getTargetRanges() by default, letting web apps inspect and cancel text edits in inputs and contenteditable elements before the DOM changes, with an example that protects metadata spans inside an editable comment.
- [WebKit Features for Safari 26.5](https://swe.quest/articles/webkit-features-for-safari-26-5-9e2dcf5e05a5b2cd.md): WebKit · 2026-05-11 · Medium · 11 min read · Browsers, CSS, Frontend
  Safari 26.5 adds the CSS :open pseudo-class for styling open \<details\>, \<dialog\>, \<select\> and \<input\> pickers, an element-scoped keyword for CSS random() after the spec changed named random values to be global by default, color-interpolation="linearRGB" for SVG gradients, ToggleEvent.source for identifying a popover's invoker, and the Origin API for structured origin and same-site comparisons without the Public Suffix List.
- [New to the web platform in August](https://swe.quest/articles/new-to-the-web-platform-in-august-d903fac59867da54.md): web.dev · 2026-08-28 · Easy · 5 min read · Browsers, CSS, JavaScript, Frontend
  Chrome 152 and Firefox 154 shipped to stable in August 2026, making several features Baseline Newly available: the text-box-trim/text-box-edge properties for trimming font leading, the sibling-count() and sibling-index() CSS functions, and the global autocorrect attribute.
- [Looking fine with Firefox 89](https://swe.quest/articles/looking-fine-with-firefox-89-bc7d05601914559d.md): Mozilla Hacks · 2021-06-01 · Medium · 3 min read · Browsers, CSS, JavaScript, Web performance, Accessibility
  Firefox 89 ships a slimmer, more minimalist interface alongside several new web platform features.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
