I just found the weirdest bug in Safari @webkit
When swapping the class name of two DOM nodes, it tells JavaScript that attribute changed, but the "real" DOM and painted screen don't change, permanently out of sync.
https://treasure21.timotijhof.net/play.html
In Firefox/Chrome, the orange box moves. In Safari, a ghost clone is created!
Isolated test:
https://codepen.io/Krinkle/pen/WbeMPvw?editors=0010
Bug report:
https://bugs.webkit.org/show_bug.cgi?id=285705
[#]webcompat #webkit #interop2025 #browserbug
=> More informations about this toot | More toots from krinkle@fosstodon.org
@krinkle @webkit that's wild :D
webkit folks have been pretty good about being responsive on bugs that actually make it onto their list, good luck with it!
=> More informations about this toot | More toots from brooke@bikeshed.vibber.net
@krinkle In case it helps, the issue appears to be the out-of-index access on HTMLCollection. It causes further calls to item() to always return the first item. See my upload in the bug.
=> More informations about this toot | More toots from iccir@mastodon.social This content has been proxied by September (3851b).Proxy Information
text/gemini