
4 min read
Firefox 157: CSS Feature Checks and Better Scroll Controls
Written by Abhishek DevandaDeveloperFirefox 157 added CSS at-rule support checks and a new overscroll behavior value. See where these changes fit in real frontend testing.
Coverage: 28 September–4 October 2026.
What a browser team can use this week
Firefox 157 arrived on 29 September. Two useful changes for everyday interface work are the ability to test CSS at-rule support and an overscroll option that distinguishes passing scroll to a parent from the browser bounce effect. The release also updates edge cases in the Web Animations API that matter if you reverse scroll-driven effects.
A developer making a grid of project cards may only need a fraction of this list. Pick an issue that users can describe, such as a drawer that feels stuck after reaching its end. Reproduce the existing problem first. A browser feature earns its place when it improves something your design needs.
Document what counts as an acceptable fallback for each component. A reader can use a progress indicator without its animation, but a modal still needs to keep the active task understandable when the underlying page is long. Check scroll behavior and focus as separate outcomes. You can then ship an enhancement for compatible browsers without treating a difference in animation as a failure in the underlying navigation.
Test the CSS feature you actually depend on
The new at-rule function in a CSS supports condition can check whether the browser understands an at-rule. This is valuable when your enhancement depends on a feature such as CSS scoping. A property test answers a related but different question. Choosing the right check makes the enhancement easier to reason about.
Give the ordinary styles their own fallback outside the conditional block. A site with reusable component styles should remain readable when enhanced scoping is unavailable. Test two component instances alongside a layout that has similarly named classes. This reveals leaks into neighbouring sections and also tells you whether the plain style remains a safe default.
Observe scroll at the edges of a real component
An embedded article list, filter sheet, or carousel can live inside another scrolling region. The new chain value documented for Firefox 157 allows scroll to move to a parent when a component reaches its boundary while suppressing certain browser overscroll effects. Consider when that handoff feels natural for your interaction.
Try a trackpad, a touch screen, and keyboard navigation. A horizontal gallery should scroll naturally without making the page difficult to move vertically. In a filter drawer, test that reaching the last item does not accidentally move underlying content when the drawer is supposed to behave like a modal. Those are two scenarios with different expectations.
Recheck reverse scroll animations
The release aligns Firefox’s animation behavior with the Web Animations specification in cases involving a zero playback rate and a change in playback direction on a scroll timeline. If your design reverses an effect, test the start, an intermediate position, and the end of the timeline.
For example, a reading progress indicator might fill across an article and reverse when a person scrolls upward. The essential information should remain comprehensible if scroll effects are unavailable or reduced motion is enabled. Record whether focus can still reach controls in the intermediate state. A smooth frame sequence is less useful if the action disappears during movement.
Worked example: a filter panel and the page behind it
A product directory may use a small scrollable filter panel on desktop and a modal sheet on mobile. Create an example with enough categories to overflow. On desktop, scroll beyond the last item and decide whether the main page should take over. On mobile, open the modal and confirm that the page behind it stays in place. Try a trackpad, touch, and the keyboard so you can separate a browser bounce effect from the actual behavior you want.
If you use an optional CSS enhancement, temporarily remove it and repeat the checks. The directory should remain usable, and the essential choice should be clear to a user. Then add a visible focus style and test the top and bottom of each surface. By describing what users need to accomplish in both layouts, you can use the new behavior where it helps and keep a simple standard fallback where it does not apply.
Finish with a small cross-browser checklist
Write one test for each enhancement you adopted and one for its fallback. Store them near the component so a future change in the design can be checked without opening old release notes. Cover realistic content such as long labels and images that finish loading after the user begins scrolling.
A browser upgrade is an opportunity to retire workarounds after you see they are redundant. Keep fallbacks that protect older environments you still support, and remove only the code whose purpose you can explain and whose absence you can verify.
- Confirm default CSS works with the enhancement disabled.
- Test nested scrolling using input devices your customers use.
- Test the reduced-motion setting and both ends of the scroll range.








