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:
parent
43d1472999
commit
84107d02b1
1 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue