{
  "id": 23459994,
  "title": "Firefox 159 Enables CSS Scroll-Driven Animations, Completing Baseline Support Across Major Browsers",
  "url": "https://urgent.news/2026/12/04/firefox-159-enables-css-scroll-driven-animations-completing-baseline",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-12-04T15:41:00.000Z",
  "source": {
    "name": "InfoQ",
    "slug": "infoq",
    "url": "https://www.infoq.com/news/2026/12/firefox-159-scroll-animations/"
  },
  "original_language": null,
  "account": "Mozilla has released Firefox 159, enabling CSS scroll-driven animations by default across all major browsers. This feature, initially held back, has now reached Baseline support, marking the completion of a critical gap in browser capabilities. The animation-timeline property, accompanied by the scroll() and view() timeline functions, is now widely available, with MDN marking it as new on the same day Firefox 159 was released on 27 October 2026.\n\nScroll-driven animations function by replacing the standard clock of CSS keyframe animations with the scroll position of a container or the visibility of an element within the scrollport. This allows for the creation of a reading-progress bar at the top of a page using only CSS, eliminating the need for scroll listeners or IntersectionObserver. The specification provides two timeline functions: scroll(), which progresses from zero to one hundred percent as the scroll container scrolls, and view(), which tracks a single element as it moves across the scrollport. Named timelines, declared using scroll-timeline-name or view-timeline-name, enable parents to drive animations on their descendants.\n\nChrome and Edge implemented the feature in version 115 in July 2023, while Safari introduced it in version 26 in September 2025. Firefox had maintained the implementation behind the layout.css.scroll-driven-animations.enabled flag since version 111, with Mozilla Connect threads tracking demand. The feature was a priority at Interop 2026, with S&eacute;bastien Lorber, maintainer of This Week In React, announcing its arrival as the \"last major browser\" to support it.\n\nRichi advised authors to declare animation-timeline after the animation shorthand to ensure proper functionality. MDN notes that Firefox requires a non-zero animation-duration for the animation to apply on a scroll timeline, even though the duration itself has no direct effect. Online commentary compares this feature with JavaScript libraries like GSAP ScrollTrigger, estimated to replace about 80 to 90 percent of ScrollTrigger use cases for simple reveal and progress effects due to its performance benefits. Unlike scroll-event handlers, scroll-driven animations operate on the compositor thread, maintaining smooth motion even under heavy main-thread pressure. A Hacker News thread discussing the scroll-driven-animations.style demo site highlighted potential concerns about nauseating effects, emphasizing the importance of wrapping effects in @media (prefers-reduced-motion: reduce) for accessibility. Teams moving away from JavaScript libraries can selectively apply new styles using @supports (animation-timeline: scroll()) to maintain compatibility with older browsers.",
  "summary": "Firefox 159, released 27 October 2026, enables CSS scroll-driven animations by default. The feature is now supported in all major browsers and has reached Baseline. It ties animations to scroll position or element visibility without JavaScript. Firefox requires a non-zero animation-duration, and native animations do not cover advanced uses such as pinning. By Daniel Curtis",
  "summary_source": "publisher",
  "key_points": [],
  "editors_take": null,
  "opinion": false,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "outlets_capped": false,
    "also_reported_by": []
  },
  "machine_translated": false,
  "ai_generated": true,
  "disclaimer": "Accounts, briefs, key points, the editor’s take and translations are written by software from other outlets’ reporting and may contain errors. A summary whose summary_source is \"publisher\" is the outlet’s own feed text. Always check the linked original."
}