diff options
author | Martin Robinson <mrobinson@igalia.com> | 2023-10-04 18:33:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-04 16:33:18 +0000 |
commit | ce183d85818e4d9b64f45cc4d7203b1871b3182e (patch) | |
tree | 2ecff1ccbdf4f1d995bd44958c9a9f5d5099d9ab /python/tidy/tidy.py | |
parent | 38a325cc1c2a079c42b0511c2e5e5aa88753144d (diff) | |
download | servo-ce183d85818e4d9b64f45cc4d7203b1871b3182e.tar.gz servo-ce183d85818e4d9b64f45cc4d7203b1871b3182e.zip |
Only access hit test items for the current epoch in the compositor (#30491)
When display lists update quickly, a hit test result might be returned
for a previous display list / list of hit test items. When that happens,
ignore the hit test result.
This fixes a crash, but there might be situations where we can do
something better, such as wait for display list processing to finish
before performing the hit test. A future change might do this for events
like mouse clicks and touch events that should never be thrown away.
Ultimately, the best thing is likely moving hit testing back to layout
or script so a valid hit test can always be performed against the
current DOM.
Fixes #29796.
Diffstat (limited to 'python/tidy/tidy.py')
0 files changed, 0 insertions, 0 deletions