# File lib/sass/tree/visitors/check_nesting.rb, line 110 def invalid_prop_parent?(parent, child) unless is_any_of?(parent, INVALID_PROP_PARENTS) "Properties are only allowed within rules, directives, or other properties." + child.pseudo_class_selector_message end end