1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00

[Sass] Expand the allowed selectors.

This commit is contained in:
Nathan Weizenbaum 2009-12-20 04:20:10 -08:00
parent 43d1472999
commit 84107d02b1

View file

@ -149,8 +149,12 @@ module Sass
end
def simple_selector_sequence
return unless element_name || tok(:hash) || class_expr ||
unless element_name || tok(:hash) || class_expr ||
attrib || negation || pseudo
# This allows for stuff like http://www.w3.org/TR/css3-animations/#keyframes-
return expr
end
nil while tok(:hash) || class_expr || attrib || negation || pseudo
true
end