Closed Bug 1465025 Opened 6 years ago Closed 6 years ago

(MAC) Animation properties panel length issue

Categories

(DevTools :: Inspector: Animations, defect, P3)

All
macOS
defect

Tracking

(firefox61 disabled, firefox62 verified)

RESOLVED WORKSFORME
Tracking Status
firefox61 --- disabled
firefox62 --- verified

People

(Reporter: aflorinescu, Unassigned)

References

(Blocks 2 open bugs)

Details

[Environment:]
Osx 10.12
62.0a1 2018-05-28

Not reproducible on Ubuntu (16.04) or Windows (10)

[Steps:]
1. Open https://rawgit.com/dadaa/3b73f847427025b51ba1ab7333013d0c/raw/77f3f0bb884875a179c3407f73bf8a8dd54751c9/doc_custom_playback_rate.html
2. Select a <div>, let the animation run 80% and observe the seeker progress for both animation bar and script animation properties.

[Actual Result:]
Note also the difference in size between the animation panel and script animation properties (see Linux and Mac comparison here: https://imgur.com/a/9fxPjrv)

[Expected Result:]
The expected result would be that the Script animation properties panel looks the same across all 3 platforms: win/mac/linux
Additional note:
Although the progress line for the animation bar and script animation seem out of sync on OSX, I would guess the actual progress is correct, just the display seems out of sync because the panels are not aligned.
See Also: → 1465044
(In reply to Adrian Florinescu [:AdrianSV] from comment #1)
> Additional note:
> Although the progress line for the animation bar and script animation seem
> out of sync on OSX, I would guess the actual progress is correct, just the
> display seems out of sync because the panels are not aligned.

The progress bars are not expected to be in sync between those panels. It's just that for many simple animations they happen to be similar.
Blocks: 1399830
(In reply to Brian Birtles (:birtles) from comment #2)
> The progress bars are not expected to be in sync between those panels. It's
> just that for many simple animations they happen to be similar.
I agree with that, but the bug here is that for the same animation, there is a length difference on Script Animation properties on MAC vs Linux/Windows.
I see the length difference in Linux too. It's only Windows that doesn't seem to have it.
Inspecting the panel on Linux the space seems to be taken up by a <scrollbar> element. Daisuke and I looked into it and it seems to be because we have min-height: 100% and overflow-y: auto on that bottom panel meaning the scrollbar is always present (and on Linux and Mac it occupies room even when disabled).

Perhaps we should redo the scrubber line using some sort of absolutely positioned overlay (with SVG?) and avoid using position:sticky etc.
Priority: -- → P3
Product: Firefox → DevTools
I think this bug as well was fixed in bug 1456828.
Adrian, could you confirm?
Flags: needinfo?(adrian.florinescu)
(In reply to Daisuke Akatsuka (:daisuke) from comment #6)
> I think this bug as well was fixed in bug 1456828.
> Adrian, could you confirm?

That is correct. Bug 1456828 is indeed fixing this issue as well. 
Verified that the problem is no longer an issue on Ubuntu 16.04 & Osx 10.13.3 on latest Nightly 06-18-2018.

Based on the above marking this as WFM.
Status: NEW → RESOLVED
Closed: 6 years ago
Flags: needinfo?(adrian.florinescu)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.