chimericdream/CSS-Ally — Issue #4: Rules inside comments get replaced
Author: chimericdream
Created: 2011-11-04 04:43:14+00:00
State: open
Labels: Issue

Right now any CSS rules that are inside comments get parsed normally. Ideally, the script should be able to determine whether a given rule is inside a comment and treat it accordingly.

Example:
`div.column {
/* Equal to column-width: 12em; and column-count: auto; */
columns: 12em auto;
}`

This should result in:
`
div.column {
/* Equal to column-width: 12em; and column-count: auto; */
-moz-columns: 12em auto;
-webkit-columns: 12em auto;
columns: 12em auto;
}`

But actually results in:
`div.column {
/* Equal to -moz-column-width: 12em; -webkit-column-width: 12em; column-width: 12em; and -moz-column-count: auto; -webkit-column-count: auto; column-count: auto; */
-moz-columns: 12em auto;
-webkit-columns: 12em auto;
columns: 12em auto;
}`