As float implies the use of the block layout, it modifies the computed value of the display values in some cases [1]
[1]: https://developer.mozilla.org/en-US/docs/Web/CSS/float MDN