this post was submitted on 20 Jan 2024
1396 points (98.7% liked)
Firefox
17899 readers
30 users here now
A place to discuss the news and latest developments on the open-source browser Firefox
founded 4 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Definitely not.
I have to version check to workaround Chrome, FireFox and Safari bugs. Some things they fix and I can flag around version (eg: FF113 has buggy focus detection with Web Components), but some just have never been fixed (eg: Firefox does not support animated styles with CSS variables in Web Components).
That's not to pick on FireFox. Chrome doesn't support scrolling two elements simultaneously which breaks any type of fancy horizontal scrolling in horizontal tabs. Safari has some buggy implementation with ARIA tags for Web Components and
[type=range]
doesn't follow spec formin
.If we were going to just not support new features because browsers are buggy, we'd never get any new features. It's better to feature detect and that includes knowing what versions need workarounds.