Commit 34346f60 by Aaron Leung

Handling attribute selectors. Only pseudo-thingies remain.

parent 7d2dd600
[hey = 'ho'] {
[hey = 'ho'], a > b {
blah: blah;
[hoo *= "ha" ] {
c, [hoo *= "ha" ] {
bloo: bloo;
}
}
\ No newline at end of file
......@@ -144,6 +144,14 @@ namespace Sass {
}
return result;
}
else if (type == attribute_selector) {
string result("[");
result += string(children->at(0));
result += string(children->at(1));
result += string(children->at(2));
result += ']';
return result;
}
else {
return string(token);
}
......
[hey = 'ho'], a > b {
blah: blah;
c, [hoo *= "ha" ] {
bloo: bloo;
}
}
\ No newline at end of file
[hey='ho'], a > b {
blah: blah; }
[hey='ho'] c, [hey='ho'] [hoo*="ha"], a > b c, a > b [hoo*="ha"] {
bloo: bloo; }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment