Open Bug 1521825 Opened 6 years ago Updated 2 years ago

Flex highlighter doesn't redraw in correct position for position:fixed elements whose fixedpos CB isn't the viewport

Categories

(DevTools :: Inspector, defect, P2)

defect

Tracking

(Not tracked)

People

(Reporter: dholbert, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: regression, testcase)

Attachments

(2 files)

Attached file testcase 1

STR:

  1. Load attached testcase.
  2. Activate the flex highlighter overlay for the fixed-pos flex container.
  3. Scroll all the way to the bottom of the page.
  4. Scroll all the way back to the top of the page.

EXPECTED RESULTS:
Overlay should still be on the flex container when you get back to the top.

ACTUAL RESULTS:
Overlay isn't positioned correctly at the end of STR (and may not even be visible). If you scroll up slowly, you can see it redrawing at one or two seemingly-arbitrary incorrect positions on the way up.

I think this is a regression from bug 1521026 -- that bug added a special case for fixedpos elements, but this bug here is about an extra-special case: fixedpos elements whose fixed-pos containing block is something other than the viewport, due to having e.g. 'transform' or 'filter' set on some ancestor (or will-change:[either of those properties]).

Flags: needinfo?(mratcliffe)
Priority: -- → P2

Mike, can you take a look?

I will add it to my list.

Flags: needinfo?(mratcliffe)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: