Re:<Blink> and <Marquee> (2020)
by flowerbard on Sunday June 08, 2025 @01:52AM
(#44214836)
They weren’t smooth back then by default either.
In Chromium it's quite literally a CSS animation:
https://source.chromium.org/chromium/chromium/src/+/main:thi...
All the code in that file is a fun read. <marquee> was rewritten as if it was a web component using the public DOM APIs (ex. It uses CSS animations and requestAnimationFrame).
Playing with the scroll speed makes it feel smoother: