add scope tests to the detached ruleset test-set

This commit is contained in:
Luke Page
2014-02-13 20:36:34 +00:00
parent c301ea6e42
commit e0692fa199
2 changed files with 22 additions and 0 deletions

View File

@@ -1,12 +1,19 @@
.wrap-selector {
color: black;
one: 1px;
visible-one: visible;
visible-two: visible;
}
.wrap-selector {
color: red;
visible-one: visible;
visible-two: visible;
}
.wrap-selector {
color: black;
background: white;
visible-one: visible;
visible-two: visible;
}
header {
background: blue;
@@ -21,11 +28,17 @@ html.lt-ie9 header {
}
.wrap-selector {
test: extra-wrap;
visible-one: visible;
visible-two: visible;
}
.wrap-selector .wrap-selector {
test: wrapped-twice;
visible-one: visible;
visible-two: visible;
}
.wrap-selector {
test-func: 90;
test-arithmetic: 18px;
visible-one: visible;
visible-two: visible;
}

View File

@@ -3,14 +3,23 @@
background: white;
};
@a: 1px;
.wrap-mixin(@ruleset) {
@a: hidden and if you see this in the output its a bug;
@b: visible;
.wrap-selector {
@c: visible;
@ruleset();
visible-one: @b;
visible-two: @c;
}
};
.wrap-mixin({
color: black;
one: @a;
@b: hidden and if you see this in the output its a bug;
@c: hidden and if you see this in the output its a bug;
});
.wrap-mixin(@ruleset: {