|
|
|
|
|
by yyyk
2514 days ago
|
|
There isn't a good argument for considering marquee deprecated anymore. Not when a <toast> element is being considered[0]. So I'd use it whenever I want a marquee. After all, <marquee> and <toast> are both shorthands for stuff that could be implemented in CSS/JS - except marquee is well supported, well specified, and more semantically different than other elements compared to <toast> (which is pretty similar to <dialog> and arguably <output>[1]). [0] https://github.com/jackbsteinberg/std-toast [1] https://www.scottohara.me/blog/2019/07/10/the-output-element... |
|
Whereas toasts are everywhere, a common, useful, established and recommended UX design pattern. So it's a genuine convenience to developers for browsers to provide it, in the same way browsers provide buttons, combo boxes, and date pickers. (Even though all of those also can be, and sometimes are, implemented in JS.)
The "good argument" to me boils down to use and convenience, and removing cruft.