CSSLint / csslint

Automated linting of Cascading Stylesheets
http://csslint.net
Other
4.77k stars 483 forks source link

CSS lint says that a "float" property should have no effect with display: inline, yet it does? #664

Open joaomoreno opened 8 years ago

joaomoreno commented 8 years ago

From @DannyJJK on July 8, 2016 8:44

Steps to Reproduce:

Create a div with the two CSS properties "display:inline" and "float:right". This will display an error in the CSS linter saying that the float property will have no effect however if you view this on a webpage you will see that the float is clearly working.

Example: https://jsfiddle.net/d9utag4f/

Copied from original issue: Microsoft/vscode#8912