Skip to content

Box model rule alerts when width or height are set to auto #287

@menzer

Description

@menzer

The purpose of the box model rule is to alert the author to potentially unforeseen sizes due to the box model when width or height declarations are combined with other box-model declarations. But if the width or height declaration is overriding a set value and returning to auto, in an OOCSS extension for example, then a padding or border declaration should not trigger the box alert rule, as there is explicitly no expected height or width on the element.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions