|
|
Donner SVG Editor & Engine
SVG-native editor and embeddable SVG2 + CSS3 engine in C++20, with GPU (WebGPU) and compact CPU renderers, built for correctness, security, and performance.
|
Parse a CSS stylesheet into a list of selectors and their associated declarations. More...
#include "donner/css/parser/StylesheetParser.h"
Static Public Member Functions | |
| static Stylesheet | Parse (std::string_view str, ParseWarningSink &warningSink) |
| Parse a CSS stylesheet into a list of selectors and their associated declarations, as well as @font-face rules. | |
Parse a CSS stylesheet into a list of selectors and their associated declarations.
|
static |
Parse a CSS stylesheet into a list of selectors and their associated declarations, as well as @font-face rules.
| str | Input stylesheet string. |
| warningSink | Sink to collect warnings (e.g. invalid selectors). |