Class Sass::Tree::SupportsNode
In: lib/sass/tree/supports_node.rb
Parent: DirectiveNode

A static node representing a `@supports` rule. `@supports` rules behave differently from other directives in that when they‘re nested within rules, they bubble up to top-level.

@see Sass::Tree

Methods

Attributes

condition  [RW]  The supports condition.

@return [Sass::Supports::Condition]

group_end  [RW]  @see RuleNode#group_end
name  [RW]  The name, which may include a browser prefix.

@return [String]

tabs  [RW]  @see RuleNode#tabs

Public Class methods

@param condition [Sass::Supports::Condition] See \{condition}

Public Instance methods

@see Node#bubbles?

True when the directive has no visible children.

@return [Boolean]

@see DirectiveNode#resolved_value

@see DirectiveNode#value

[Validate]