8000 Moving the mouse can cause absolutely positioned elements to move around · Issue #39439 · servo/servo · GitHub
[go: up one dir, main page]

Skip to content

Moving the mouse can cause absolutely positioned elements to move around #39439

@mrobinson

Description

@mrobinson

Describe the bug:

  1. Load the following HTML:
<!DOCTYPE html>
<div style="overflow: scroll; width: 150px; height: 150px; outline: solid;">
    <div id=target style="position: absolute; background: green; width: 50px; height: 50px">hi</div>
</div>
  1. Move the mouse outside and inside the Servo window.
  2. Observe that the absolutely positioned <div> moves around. The <div>s offsets keep increasing in the flow tree output.

Curiously, reloading prevents this bug from happening.

Video:

Screen.Recording.2025-09-22.at.16.28.50.mov

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0