Open Bug 1521067 Opened 3 years ago Updated 3 years ago

Grid highlighter shouldn't scroll for position:fixed elements

Categories

(DevTools :: Inspector, defect, P2)

defect

Tracking

(Not tracked)

People

(Reporter: miker, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

Attached file test.html

STR:

  1. Open test.html.
  2. Open the inspector.
  3. Find the position:fixed element and click on the [grid] badge next to it.
  4. Scroll the page.

Expected:

The grid highlighter should stick to the element.

Actual:

The grid highlighter moves around while you scroll.

Blocks: dt-grid
No longer blocks: dt-flexbox
Duplicate of this bug: 1489329

In the interests of avoiding a grid-overlay version of bug 1521825, here's a more thorough testcase that has an extra grid whose CB is not the viewport.

Right now, the overlay for that higher-up grid scrolls correctly. We should make sure it continues to do so when fixing this, if possible.

You need to log in before you can comment on or make changes to this bug.