servo/components
Martin Robinson ce183d8581
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.
2023-10-04 16:33:18 +00:00
..
allocator Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
atoms Media query resolution (#30406) 2023-09-22 16:18:00 +00:00
background_hang_monitor Fix macOS's sameple isn't used in background_hang_monitor (#30490) 2023-10-04 06:59:45 +00:00
bluetooth Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
bluetooth_traits Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
canvas Further changes required by Servo 2023-10-02 14:37:19 +00:00
canvas_traits Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
compositing Only access hit test items for the current epoch in the compositor (#30491) 2023-10-04 16:33:18 +00:00
compositing_traits Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
config Add shell.background-color.rgba to prefs (#30488) 2023-10-04 13:16:16 +00:00
config_plugins Update to syn 2 where possible (#30387) 2023-09-19 15:57:37 +00:00
constellation Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
deny_public_fields Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
derive_common style: Move fixed-point font types to Rust 2023-10-02 14:37:19 +00:00
devtools Add shell.background-color.rgba to prefs (#30488) 2023-10-04 13:16:16 +00:00
devtools_traits Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
dom_struct remove extern crate (#30311) 2023-09-08 12:11:31 +00:00
domobject_derive Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
embedder_traits Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
geometry Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
gfx Further changes required by Servo 2023-10-02 14:37:19 +00:00
gfx_traits Only access hit test items for the current epoch in the compositor (#30491) 2023-10-04 16:33:18 +00:00
jstraceable_derive Update to syn 2 where possible (#30387) 2023-09-19 15:57:37 +00:00
layout Only access hit test items for the current epoch in the compositor (#30491) 2023-10-04 16:33:18 +00:00
layout_2020 Only access hit test items for the current epoch in the compositor (#30491) 2023-10-04 16:33:18 +00:00
layout_thread Refactor scrolls on the window object (#29680) 2023-09-15 10:57:54 +00:00
layout_thread_2020 Refactor scrolls on the window object (#29680) 2023-09-15 10:57:54 +00:00
layout_traits Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
malloc_size_of Further changes required by Servo 2023-10-02 14:37:19 +00:00
media Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
metrics Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
msg Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
net Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
net_traits Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
pixels Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
profile Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
profile_traits Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
rand Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
range Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
remutex Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
script Support Namespace const in webidl (#30492) 2023-10-04 11:29:54 +00:00
script_layout_interface Refactor scrolls on the window object (#29680) 2023-09-15 10:57:54 +00:00
script_plugins Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
script_traits Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
selectors style: Add simple parsing and matching support for :has 2023-10-02 14:37:19 +00:00
servo Fix pinch zoom and enable it for TouchpadMagnify events (#30459) 2023-10-03 12:49:36 +00:00
servo_arc Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
size_of_test Further changes required by Servo 2023-08-16 17:46:41 +02:00
std_test_override Upgrade remaining components to edition 2018 2023-02-18 09:42:37 +01:00
style Implement support for the drop-shadow filter (#30439) 2023-10-04 11:32:45 +00:00
style_derive Avoid complaints from ./mach test-tidy 2023-08-16 17:46:41 +02:00
style_traits style: While at it use some better names for some bits 2023-10-02 14:37:19 +00:00
to_shmem Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
to_shmem_derive Update to syn 2 where possible (#30387) 2023-09-19 15:57:37 +00:00
url Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
webdriver_server Add shell.background-color.rgba to prefs (#30488) 2023-10-04 13:16:16 +00:00
webgpu Add GPUSupportedFeatures and update GPUSupportedLimits (#30359) 2023-09-14 13:23:12 +00:00
webrender_surfman Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
webrender_traits Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00