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

Merging selector not always working #155

Closed
tomap opened this issue Nov 22, 2013 · 1 comment · May be fixed by Xtuden-com/csso#2
Closed

Merging selector not always working #155

tomap opened this issue Nov 22, 2013 · 1 comment · May be fixed by Xtuden-com/csso#2

Comments

@tomap
Copy link

tomap commented Nov 22, 2013

When I compress this only:

.fc-header .fc-button{margin-bottom:1px;vertical-align:top;}
.fc-header .fc-button{margin-right:1px;}

the result is:

.fc-header .fc-button{margin-bottom:1px;vertical-align:top;margin-right:1px}

But with this larger piece of code:

.fc-header .fc-button{margin-bottom:1px;vertical-align:top;}

.fc-header .fc-button{margin-right:1px;}

.fc-state-hover,.fc-state-down,.fc-state-active,.fc-state-disabled{color:#333;background-color:#e6e6e6}
.fc-state-hover{color:#333;text-decoration:none;background-position:0 -15px;-webkit-transition:background-position .1s linear;-moz-transition:background-position .1s linear;transition:background-position .1s linear;}

.fc-state-down,.fc-state-active{background-color:#ccc;background-image:none;outline:0;box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05)}
.fc-state-disabled{cursor:default;background-image:none;opacity:.65;filter:alpha(opacity=65);box-shadow:none}
.fc-event{border:1px solid #3a87ad;background-color:#3a87ad;color:#fff;font-size:.85em;cursor:default}

It's not working anymore:

.fc-header .fc-button{margin-bottom:1px;vertical-align:top}.fc-header .fc-button{margin-right:1px}.fc-state-hover,.fc-state-down,.fc-state-active,.fc-state-disabled{color:#333;background-color:#e6e6e6}.fc-state-hover{color:#333;text-decoration:none;background-position:0 -15px;-webkit-transition:background-position .1s linear;-moz-transition:background-position .1s linear;transition:background-position .1s linear}.fc-state-down,.fc-state-active{background-color:#ccc;background-image:none;outline:0;box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05)}.fc-state-disabled{cursor:default;background-image:none;opacity:.65;filter:alpha(opacity=65);box-shadow:none}.fc-event{border:1px solid #3a87ad;background-color:#3a87ad;color:#fff;font-size:.85em;cursor:default}

I'm not sure why!

I'm using windows so my command line is:

C:\fullcalendar>node C:\Users\username\AppData\Roaming\npm\node_modules\csso\lib\csso.js fullcalendar.src.css fullcalendar.min.css

I've tested with your web interface, and the issue can also be reproduced:
http://css.github.io/csso/csso.html

Thomas P.

@lahmatiy
Copy link
Member

Looks like issue was solved in 1.5.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants