Now that autofocus doesn't get updated as a post style resolution callback and plugins are things of the past, there shouldn't be any mechanism by which scripts can interject themselves during style resolution.
Created attachment 460667 [details] WIP
Created attachment 460668 [details] WIP - more aggressive
Sigh... HTMLObjectElement still updates DOM via updateWidget
<rdar://problem/96861280>
Created attachment 460956 [details] WIP
Pull request: https://github.com/WebKit/WebKit/pull/2497
Committed 252564@main (3c7828ddd501): <https://commits.webkit.org/252564@main> Reviewed commits have been landed. Closing PR #2497 and removing active labels.