Skip to content

Link hitboxes do not move when scrolling page #18101

Closed

Description

@atouchet

Steps to reproduce:

  1. Load web page that scrolls vertically and has clickable links near the bottom of the page.
  2. Scroll down the page.
  3. Try to click a link.
  4. The link doesn't work properly.

I believe this is a recent regression as I do not recall running into this issue previously. Tested in Windows 10.

Activity

  1. jdm commented on Aug 17, 2017

    @jdm
    Member

    I can reproduce this with ./mach run -b and visiting http://news.ycombinator.org. I cannot reproduce it with ./mach run http://news.ycombinator.org, so it's specifically related to hit testing inside of an iframe.

  2. added
    C-reproduced
    I-bustage
    on Aug 17, 2017
  3. jdm commented on Aug 17, 2017

    @jdm
    Member

    This is a regression from #17425 according to my bisection. cc @paulrouget

  4. paulrouget commented on Aug 17, 2017

    @paulrouget
    Contributor

    If it's because of #17425, I would bet on a Browser API breakage.

    I'll look at it.

  5. paulrouget commented on Aug 17, 2017

    @paulrouget
    Contributor

    Really looks like a hittest issue though…

  6. atouchet commented on Aug 17, 2017

    @atouchet
    ContributorAuthor

    @paulrouget do you have any idea if your PR could have also caused #18098? That issue appeared right around the same time.

  7. paulrouget commented on Aug 17, 2017

    @paulrouget
    Contributor

    @atouchet I don't know. I'll investigate tomorrow.

  8. paulrouget commented on Aug 18, 2017

    @paulrouget
    Contributor

    The hittest issue only happens with mozbrowser ifames.

  9. paulrouget commented on Aug 18, 2017

    @paulrouget
    Contributor

    In these tests:

    if let Some(id) = self.active_browser_id {

    // Build frame tree

    we need to resolve the actual top level browsing context.

  10. added a commit that references this issue on Aug 21, 2017
    a1006a5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-layout/queryC-reproducedI-bustage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions