Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
Inkscape::CSS::RuleStatement Struct Reference

A decomposed CSS rule statement, consisting of a selector (which can be complex), and the associated set of rules. More...

#include <syntactic-decomposition.h>

Public Attributes

std::string selectors
 Selectors for a rule set statement.
 
std::string rules
 Semicolon-separated rules.
 

Detailed Description

A decomposed CSS rule statement, consisting of a selector (which can be complex), and the associated set of rules.

For example, the CSS statement

rect, .myClass1 { fill: yellow; stroke: none; }

has selectors == "rect, .myClass1" and rules == "fill: yellow; stroke: none".

Definition at line 36 of file syntactic-decomposition.h.

Member Data Documentation

◆ rules

std::string Inkscape::CSS::RuleStatement::rules

Semicolon-separated rules.

Definition at line 39 of file syntactic-decomposition.h.

Referenced by Inkscape::UI::Dialog::SelectorsDialog::_insertSyntacticElement().

◆ selectors

std::string Inkscape::CSS::RuleStatement::selectors

Selectors for a rule set statement.

Definition at line 38 of file syntactic-decomposition.h.

Referenced by Inkscape::UI::Dialog::SelectorsDialog::_insertSyntacticElement().


The documentation for this struct was generated from the following file: