Skip to content
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

[hittest] Link hitboxes are not updated after scrolling on duckduckgo #11648

Closed
cbrewster opened this issue Jun 7, 2016 · 2 comments
Closed

[hittest] Link hitboxes are not updated after scrolling on duckduckgo #11648

cbrewster opened this issue Jun 7, 2016 · 2 comments

Comments

@cbrewster
Copy link
Member

@cbrewster cbrewster commented Jun 7, 2016

./mach run -d -w https://duckduckgo.com/\?q\=rust+langauge
Scroll down and hover over links. The link rectangles are not updated after the scroll.
This happens both inside and outside of browserhtml.
This only happens with webrender.

@paulrouget
Copy link
Contributor

@paulrouget paulrouget commented Jun 7, 2016

Could is be a regression due to #11537 ?

@paulrouget paulrouget changed the title Link hitboxes are not updated after scrolling on duckduckgo [hittest] Link hitboxes are not updated after scrolling on duckduckgo Jun 7, 2016
@pcwalton
Copy link
Contributor

@pcwalton pcwalton commented Jun 8, 2016

Minimal test case:

<!DOCTYPE html>
<html style="overflow: scroll"><body style="padding-top: 1200px"><a href="http://example.com">Mouse over me</a></body></html>
pcwalton added a commit to pcwalton/servo that referenced this issue Jun 9, 2016
elements with `overflow: scroll` up to date, and take them into account
when doing hit testing.

Closes servo#11648.
pcwalton added a commit to pcwalton/servo that referenced this issue Jun 9, 2016
elements with `overflow: scroll` up to date, and take them into account
when doing hit testing.

Closes servo#11648.
pcwalton added a commit to pcwalton/servo that referenced this issue Jun 10, 2016
elements with `overflow: scroll` up to date, and take them into account
when doing hit testing.

Closes servo#11648.
pcwalton added a commit to pcwalton/servo that referenced this issue Jun 10, 2016
elements with `overflow: scroll` up to date, and take them into account
when doing hit testing.

Closes servo#11648.
pcwalton added a commit to pcwalton/servo that referenced this issue Jun 10, 2016
elements with `overflow: scroll` up to date, and take them into account
when doing hit testing.

Closes servo#11648.
pcwalton added a commit to pcwalton/servo that referenced this issue Jun 11, 2016
elements with `overflow: scroll` up to date, and take them into account
when doing hit testing.

Closes servo#11648.
bors-servo added a commit that referenced this issue Jun 11, 2016
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.

r? @jdm
cc @paulrouget

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11680)
<!-- Reviewable:end -->
bors-servo added a commit that referenced this issue Jun 11, 2016
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.

r? @jdm
cc @paulrouget

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11680)
<!-- Reviewable:end -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.