ابحث في الدعم

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Firefox showing an overflow scrollbar when there is no overflow

  • 1 (رد واحد)
  • 1 has this problem
  • 468 views
  • آخر ردّ كتبه Eivind

more options

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?

Read this answer in context 👍 0

All Replies (1)

more options

الحل المُختار

Okey... changing the <canvas> element display property from 'inline' to 'block' solved the problem. But why?