Skip to content
  • Services12
  • Work
  • About
  • Blog
  • Contact
Start a project

Have a look around...

  • Services12
  • Work
  • About
  • Blog
  • Contact
Start a project

The Blog

  • explore all20
  • Tech Updates10
  • Web Development3
  • Web Design2
  • Branding1
  • SEO & Content3
  • eCommerce1
Visit LinkedInVisit GitHubVisit Instagram
Sh*t I’ve gone too far, send me back upBack to top👆

Do you like
what you see?

Start a project5.0 from 16 reviews

Learn

  • About
  • Testimonials
  • FAQs
  • Blogs

Explore

  • Home
  • WorkNEW
  • Services
  • Careers
  • Contact

Get in touch

6376447935info@vedbit.com
VedbitAlankar Plaza, B-23 A, Sector 2Central Spine, Vidyadhar NagarJaipur, Jaipur Nagar Nigam AreaRajasthan 302039
View on Google Maps

Crafting since 2022

© Vedbit Technologies Private Limited
Company Reg Number U62012RJ2026PTC114703
Web Design Jaipur
All Rights Reserved
Privacy Policy (you really care?)
👀

Loading article

4 min read

Firefox 158: CSS Typed Arithmetic, Image Formats and Forms

Written by Abhishek DevandaDeveloper

Contents

  1. Look at three application boundaries
  2. Use typed arithmetic for meaningful relationships
  3. Test image negotiation with a warm cache
  4. Recheck asynchronous messages on Android
  5. Worked example: a responsive image beside a live results list
  6. Turn the findings into a reusable browser check
4 min read
Published on 18 Oct 2026

Firefox 158 added CSS typed arithmetic and improved Android support for aria-busy. Here is what to test in your UI and image pipeline.

Coverage: 12–18 October 2026.

Look at three application boundaries

Firefox 158 shipped on 13 October. Its notes describe typed arithmetic in CSS, a change to how images are requested, and Android support for the aria-busy state. These changes touch layout, delivery, and accessibility. A small test in each area will be more useful than trying every feature from the browser release.

Decide which change relates to code you already ship. A team using a fixed spacing scale may have little reason to adopt typed arithmetic. A team maintaining a content-heavy image site has a stronger reason to test image negotiation. Start with the product behavior you need to protect and read the release note through that lens.

Check that your fallback serves a usable format for browsers outside the newest release lines. A content system that chooses formats at upload time has different responsibilities from a cache that negotiates on each request. Decide which layer owns the choice, then test one explicit file and one negotiated URL. This narrows the investigation if the same product image is sharp in one browser and missing in another.

Use typed arithmetic for meaningful relationships

Typed arithmetic lets CSS divide compatible dimensions and use the unitless result. An author can express a relationship between a length and a reference length without first copying the calculation into JavaScript. It can help when a visual enhancement depends on an aspect of the layout that CSS already knows.

Write the core layout as ordinary CSS and guard the enhancement with a feature test that captures the syntax you will use. Inspect different viewport widths, text sizes, and lengthy translated content. A ratio that makes a decorative display feel precise at one width can produce extreme results at another. Keep a sensible range and test the minimum, maximum, and everyday case.

Test image negotiation with a warm cache

Mozilla notes that Firefox 158 adds JPEG XL to the default image request’s Accept header. The request is a clue about formats the browser can handle, not a direction to serve one format unconditionally. If your CDN negotiates formats, it still needs to send a representation the request can use and keep shared variants separated correctly.

Open the same image path in supporting and non-supporting browsers. Compare the response content type, file size, and whether the image is actually rendered. Repeat with a warm cache. This can reveal a cache key that worked when each request was cold but handed an incompatible variant to a later visitor. Keep a conventional fallback for assets served through a picture element.

Recheck asynchronous messages on Android

Firefox for Android now supports aria-busy, according to Mozilla’s notes. The state can tell assistive technology to defer updates until a region has finished changing. In practice, set it when work begins, clear it when work finishes, and confirm each final state has understandable text.

Try a search filter, a message send, or a contact form with a slow response. Test success and failure on a real device with a screen reader available. A self-updating counter inside a busy region can be useful visually and noisy for someone listening. Listen to what is actually announced and keep the output focused on the state the person needs.

Worked example: a responsive image beside a live results list

Imagine a product list uses one image URL and updates results after a filter selection. Start in Firefox 158 with a cold cache. Record the request’s Accept header and the response content type without assuming the browser chose a particular format. Repeat in another browser, then revisit both with a warm cache. If a CDN transforms assets, verify that the dimensions and fallback still fit the card layout in both cases.

Next try a filter with an artificially delayed test response on Android. The results region can mark itself busy while changing, then expose a short message with the number of matches. Check the experience with a screen reader. Listen for a meaningful announcement once the list is ready and make sure a failed response clears the busy state. Combining these checks gives you a realistic test of layout, media and feedback on the same page without requiring a full rewrite of the component.

Turn the findings into a reusable browser check

Record the browser, device, attempted action, and visible or spoken outcome. Give the team one reduced CSS example and one release-ready application route if an issue appears. This distinguishes a web-platform limitation from a style conflict in the project.

As browser support expands, consider simplifying old code only after the minimum version your project supports has caught up. Re-run the same written check so you can remove a fallback with evidence and keep the experience predictable for existing visitors.

  • Test the enhancement and its fallback at three practical layout widths.
  • Compare response format for an image with both cold and warm caches.
  • Check whether an asynchronous form status is understandable with a screen reader.

Sources and further reading

  • Firefox 158 release notes for developers
  • MDN CSS typed arithmetic reference
Written byAbhishek DevandaDeveloper

I’m Abhishek, a Developer at Vedbit. I turn design ideas into fast, accessible websites, with care for the details that make them work.

Share

Share on LinkedIn (opens in a new tab)Share on X (opens in a new tab)Share on Facebook (opens in a new tab)

The Blog

You might also like

View our Blog
Abhishek Devanda

4 min read

Vite 8.4 Upgrade Guide for Web Teams

Vite 8.4 improves dynamic import recovery and dev-server file checks. Here is how to test the upgrade in a real frontend project.

Abhishek Devanda

4 min read

Bun 1.4.5 and a Safer Runtime Patch Rollout

Bun 1.4.5 updated several bundled dependencies. Use this release as a template for patching CI, local tooling and production consistently.

Abhishek Devanda

4 min read

Firefox 160 Release Checklist for Frontend Teams

Firefox 160 arrived on 10 November. Use the release to refresh browser coverage for CSS, form states and the journeys customers depend on.

Abhishek Devanda

4 min read

Cloudflare Workers November 2026 Compatibility Changes

Cloudflare’s November compatibility date changes module loading and request cancellation. Here is what to test before updating a Worker.

Abhishek Devanda

4 min read

Node.js 26 LTS Upgrade Guide for Production and CI

Node.js 26 entered LTS on 28 October. Plan the upgrade across local development, CI images, native dependencies and production deployments.

Abhishek Devanda

4 min read

Bun 1.4.4: Formatting and Dependency Caching in CI

Bun 1.4.4 added built-in formatting and dependency prefetching. Compare both against your existing tools before changing the build pipeline.

Don’t believe the hype?

See what AI has
to say about us

OpenAIClaudeGoogleGrok