Firefox showing an overflow scrollbar when there is no overflow
Here is a fiddle showing the problem: https://jsfiddle.net/hefczx3a/12/
Even though all the elements are the same dimension with no margins/padding. Firefox displays scrollbars... On Chrome it is displayed as intended, covering the viewport without any scrollbars.
Is this is Firefox bug?
Here is a fiddle showing the problem: https://jsfiddle.net/hefczx3a/12/
Even though all the elements are the same dimension with no margins/padding. Firefox displays scrollbars...
On Chrome it is displayed as intended, covering the viewport without any scrollbars.
Is this is Firefox bug?
被選擇的解決方法
Okey... changing the <canvas> element display property from 'inline' to 'block' solved the problem. But why?
從原來的回覆中察看解決方案 👍 0所有回覆 (1)
選擇的解決方法
Okey... changing the <canvas> element display property from 'inline' to 'block' solved the problem. But why?