#include <cstddef>#include <functional>#include <string>#include <string_view>#include <variant>#include <vector>#include "donner/base/ParseWarningSink.h"#include "donner/base/RcString.h"#include "donner/css/Stylesheet.h"#include "donner/css/parser/RuleParser.h"#include "donner/svg/resources/UrlLoader.h"Classes | |
| struct | donner::svg::components::StylesheetImportBudget |
| Bounds applied to one document-wide @import resolution pass, across every stylesheet of the document. More... | |
Namespaces | |
| namespace | donner |
| Top-level Donner namespace, which is split into different sub-namespaces such as donner::svg and donner::css. | |
| namespace | donner::svg |
| Donner SVG library, which can load, manipulate and render SVG files. | |
| namespace | donner::svg::components |
| Contains the implementation of the Donner ECS,. | |
Typedefs | |
| using | donner::svg::components::StylesheetImportFetch |
| Fetch callback for one resolved import URL: returns the loaded bytes, or a diagnostic reason (which must not contain the URL) when the resource is refused or unavailable. | |
Functions | |
| std::vector< css::Stylesheet > | donner::svg::components::LoadStylesheetImports (const css::Stylesheet &stylesheet, const StylesheetImportFetch &fetch, StylesheetImportBudget &budget, ParseWarningSink &warnings, std::vector< StylesheetImportOrigin > *origins=nullptr) |
Load the @import rules of stylesheet and, recursively, of the stylesheets they import. | |