Skip to content

Fails to merge properties for a selector with other styles present #52

@Streemo

Description

@Streemo

Edit: See final update below.

a.css

#root {
  background-color: #f00;
}
body {
  text-align: center;
}

b.css

#root {
  width: 640px;
  height: 360px;
}

expected.css

#root{width:640px;height:360px;background-color:red}body{text-align:center}

actual.css

#root{background-color:red}body{text-align:center}#root{width:640px;height:360px}

If the body style is omitted, it merges the #root styles as expected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions