Skip to content

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

Open
@joaomoreno

Description

@joaomoreno

From @DannyJJK on July 8, 2016 8:44

  • VSCode Version: Code 1.3.0 (e724f269ded347b49fcf1657fc576399354e6703, 2016-07-07T16:52:42.674Z)
  • OS Version: Darwin x64 15.6.0

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions