Skip to content

Ordering of properties after expanding shorthands is wrong #203

@Idrinth

Description

@Idrinth
.some-rule{
	padding:5px;
	padding-top: 20px
}

leads to

array(5) {
  [0]=>
  string(18) "padding-top: 20px;"
  [1]=>
  string(17) "padding-top: 5px;"
  [2]=>
  string(19) "padding-right: 5px;"
  [3]=>
  string(20) "padding-bottom: 5px;"
  [4]=>
  string(18) "padding-left: 5px;"
}

Giving padding-top a 5px instead of the expected 20px when getting rules as assoc. Most likely related to that creating shorthands leads to the original input instead of merging the padding rules.

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