Closed Bug 1776422 Opened 2 years ago Closed 2 years ago

`linear(...)` easing: Highlight for `linear(...)` animated div does not match the actual div

Categories

(DevTools :: Inspector, defect)

defect

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: dshin, Unassigned)

References

Details

STR:

  1. Enable about:config pref layout.css.linear-easing-function.enabled
  2. Navigate to https://ffx-devtools-linear-animation-timing-function.glitch.me/
  3. Launch inspector
  4. Select the div with linear(...) animation enabled with id linear
  5. Click the square button beside the .linear style (Highlight all elements matching this selector)

Expected Behaviour: Highlight overlaps the linear animated div at all times
Actual Behaviour: Highlight moves separately from the linear animated div. This is not the case for the cubic bezier div.

See Also: → 1764126
Depends on: 1764126
See Also: 1764126
Depends on: 1776460

I tested this on Windows using Nightly 103.0a1 (2022-06-24) and it works perfectly for me. That means, the highlighting always covers the <div>.
So maybe that depends on the OS you're on?

Sebastian

Ok... that was strange. Despite of flipping pref on/off having an impact, when it was on, the div behaved as if linear and not linear(...) was applied. When pref was off, it behaved as if ease was applied. Strangely enough, inspector was unaffected by this.
Launched a new profile & turned the pref on and did not observe the behaviour. Tried flipping the pref on and off again to no effect. Restarted the browser with the old profile, and the problem seems to have gone away.

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.