Closed snorripall closed 11 years ago
bubble selector more powerfull feature, you can use Modernizr.js, cssua.js etc please vote for my patch
@Punk-UnDeaD, you see, this:
.foo {
.bar {
html.ua-ie-7 & {
color: red;
}
}
}
does indeed compile to:
html.ua-ie-7 .foo .bar {
color: red;
}
...both with lessc
on the server, and with less.js in all browsers. All except MSIE7.
There's a IE7 specific javascript bug that needs to be fixed.
Once it's fixed the special-casing proposed in issue #435 becomes redundant.
@maranomynet I do not use "&" for reorganize selector I use bubble selector from my patch, because it is more powerfull and understandable
Hi,
I don't have IE7 but I've just re-written the way parent selectors work to be more powerfull.. any chance you can retest?
dead bug
Oh the irony. This works in all browsers except IE7 when you're using the client-side version of less.js.
Should output to
So a fix for IE7 would be greatly appreciated.