Toot

Written by Timo Tijhof on 2025-01-09 at 21:41

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 | View the thread | More toots from krinkle@fosstodon.org

Mentions

=> View webkit@front-end.social profile

Tags

=> View webcompat tag | View webkit tag | View interop2025 tag | View browserbug tag

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113800570346484529
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
226.494168 milliseconds
Gemini-to-HTML Time
0.599611 milliseconds

This content has been proxied by September (3851b).