It's amazing how quickly nested compound selectors...
# tornadofx
r
It's amazing how quickly nested compound selectors can blow up. I was testing @nekoinemo's PR, and this:
Copy code
s(a, b) {
    and(c, d) {
        child(e, f) {
            next(g, h) {
                sibling(i) {
                    fill = c("red")
                }
            }
        }
    }
}
becomes this monstrosity:
Copy code
.a.c > .e + .g ~ .i, .a.c > .e + .h ~ .i, .a.c > .f + .g ~ .i, .a.c > .f + .h ~ .i, .a.d > .e + .g ~ .i, .a.d > .e + .h ~ .i, .a.d > .f + .g ~ .i, .a.d > .f + .h ~ .i, .b.c > .e + .g ~ .i, .b.c > .e + .h ~ .i, .b.c > .f + .g ~ .i, .b.c > .f + .h ~ .i, .b.d > .e + .g ~ .i, .b.d > .e + .h ~ .i, .b.d > .f + .g ~ .i, .b.d > .f + .h ~ .i {
    -fx-fill: rgba(255, 0, 0, 1);
}
But it looks right...