Yup, this is very surprising... On my machine the threshold is `setTimeout(..., 9)`. Safari 18.5, M1 MacBook Air
From the JS side, it works as expected (logging .textContent shows "blocking").
Even if you trigger a sync layout in JS (with .getBoundingClientRect()), the UI isn't updated until after the blocking code returns.
It looks like they over-optimized the rendering scheduler.