Skip to content

Don't warn about unitless 0 #6476

@japgolly

Description

@japgolly

With React 15.0.1 I'm getting this warning:

react-with-addons.js:21026 Warning: a spantag (owner:unknown) was passed a numeric string value for CSS property padding(value:0) which will be treated as a unitless number in a future version of React.

While it generally makes sense, 0 should be allowed unitless like it is in the CSS spec.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions