Firefox 在 Stackoverflow 或 github 中停止显示带有代码的页面,而 Chromium 则不会

Firefox stalls displaying pages with code in Stackoverflow or github, while chromium doesn't

我在 NVIDIA TX2 (L4T R28.2.0) 上 运行 Ubuntu-16.04.6 LTS。 使用 firefox(66.0.2) 时,我在 Whosebug 或 github.

中浏览带有代码的页面时遇到长时间停顿(有时 Ubuntu 变黑)

使用 firefox 时,当它滞后时,我可以看到 CPU 在 100% 时使用 htop。 铬 (73.0.3683.86) 不会发生这种情况。

有没有人知道这个问题,以及进一步的修复或解决方法?

似乎这是一个已知错误... Why do fixed elements slow down scrolling in Firefox?

解决方法是在 Firefox 首选项中禁用平滑滚动。