mirror of
https://github.com/servo/servo
synced 2026-05-13 10:27:03 +02:00
Move the construction of hit test items for scroll nodes to the display list construction stage. This way they respect the `z-index` of their originating fragments and stacking context ordering in general. Testing: We currently do not have great testing for this as this tests the combination of hit testing of input events and scrolling at that point. The completion of WebDriver support should make this easier to test. Fixes: #38967 Signed-off-by: coding-joedow <ibluegalaxy_taoj@163.com> Co-authored-by: kongbai1996 <1782765876@qq.com>