Simulated click events are dispatched with two options: * whether to send associated events mouseover, mouseup, mousedown * whether to repaint the target element with its pressed look We currently always set the element's :active state just after when we'd send the mousedown event, and clear it just after that. When we dispatch a simulated click event with neither of the above options set, there's no way to observe the temporary :active state on the element. We can skip it in that case. Forthcoming is a 0.3-0.4% improvement on Speedometer 2.
Created attachment 450067 [details] Patch
<rdar://problem/88095418>
Created attachment 450091 [details] Patch
Committed r288669 (246475@main): <https://commits.webkit.org/246475@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 450091 [details].