class Sass::Tree::SupportsNode
@see Sass::Tree
they bubble up to top-level.
in that when they’re nested within rules,
‘@supports` rules behave differently from other directives
A static node representing a `@supports` rule.
def bubbles?; true; end
- See: Node#bubbles? -
def bubbles?; true; end
def initialize(name, condition)
-
condition
(Sass::Supports::Condition
) -- See \{#condition}
def initialize(name, condition) @name = name @condition = condition @tabs = 0 super('') end
def invisible?
-
(Boolean)
-
def invisible? children.all? {|c| c.invisible?} end
def resolved_value
- See: DirectiveNode#resolved_value -
def resolved_value @resolved_value ||= "@#{name} #{condition.to_css}" end
def value; raise NotImplementedError; end
- See: DirectiveNode#value -
def value; raise NotImplementedError; end