-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Link hitboxes do not move when scrolling page #18101
Comments
I can reproduce this with |
This is a regression from #17425 according to my bisection. cc @paulrouget |
If it's because of #17425, I would bet on a Browser API breakage. I'll look at it. |
Really looks like a hittest issue though… |
@paulrouget do you have any idea if your PR could have also caused #18098? That issue appeared right around the same time. |
@atouchet I don't know. I'll investigate tomorrow. |
The hittest issue only happens with mozbrowser ifames. |
In these tests:
servo/components/constellation/constellation.rs Line 2311 in 92176d1
servo/components/constellation/constellation.rs Line 2473 in 92176d1
we need to resolve the actual top level browsing context. |
make sure proper frame tree is sent when iframes change We ran into a hittest issue because the frame tree was not correctly updated after #17425. The frame tree should be updated on tab change (via send_frame_tree) or when the frame sub tree changes and it's the active one (via update_frame_tree_if_active). --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #18101 (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/18149) <!-- Reviewable:end -->
Steps to reproduce:
I believe this is a recent regression as I do not recall running into this issue previously. Tested in Windows 10.
The text was updated successfully, but these errors were encountered: