mirror of
https://github.com/servo/servo.git
synced 2025-08-01 03:30:33 +01:00
script: When using WebRender, keep the DOM-side scroll positions for
elements with `overflow: scroll` up to date, and take them into account when doing hit testing. Closes #11648.
This commit is contained in:
parent
ce88b8ed30
commit
041cfe6d0a
14 changed files with 259 additions and 47 deletions
7
tests/html/hit_test_overflow_scroll.html
Normal file
7
tests/html/hit_test_overflow_scroll.html
Normal file
|
@ -0,0 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html style="overflow: scroll">
|
||||
<body style="overflow: hidden; position: relative;">
|
||||
<p>Scroll down...</p>
|
||||
<p style="padding-top: 1200px"><a href="http://example.com">Mouse over me!</a></p>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue