Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add advanced selectors rearrangements #158

Closed
GoalSmashers opened this issue Nov 1, 2013 · 0 comments
Closed

Add advanced selectors rearrangements #158

GoalSmashers opened this issue Nov 1, 2013 · 0 comments
Assignees
Milestone

Comments

@GoalSmashers
Copy link
Contributor

E.g.

.one{color:red;margin:0}
.two{color:#fff}
.one{font-size:12px}

into

.one{color:red;margin:0;font-size:12px}
.two{color:#fff}

It should be possible to rearrange & merge selectors if:

  • any intermediate selectors ones do not redefine properties moved
  • any intermediate selectors are do not override moved one (html element ones, classes are unsafe)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants