Donner 0.8.0-pre
Embeddable browser-grade SVG2 engine
Loading...
Searching...
No Matches
donner::svg::SVGMatchedStyleRule Struct Reference

Diagnostic record for one stylesheet rule that matched an element. More...

#include "donner/svg/SVGStyleQuery.h"

Collaboration diagram for donner::svg::SVGMatchedStyleRule:
[legend]

Public Member Functions

bool operator== (const SVGMatchedStyleRule &other) const =default
 Equality operator.

Public Attributes

Entity stylesheetEntity = entt::null
 Entity carrying the matched stylesheet.
std::size_t ruleIndex = 0
 Index of the matched rule within the stylesheet.
std::size_t selectorEntryIndex = 0
 Index of the matched selector-list entry.
css::Specificity specificity
 Selector specificity for this match.
bool isUserAgentStylesheet = false
 True when this came from the built-in UA stylesheet.
std::optional< SourceRangeruleSourceRange
 Matched rule range in SVG source.
std::optional< SourceRangeselectorSourceRange
 Matched selector branch in SVG source.
std::vector< SourceRangedeclarationSourceRanges
 Declaration ranges in SVG source.

Detailed Description

Diagnostic record for one stylesheet rule that matched an element.


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