|
|
Donner 0.8.0-pre
Embeddable browser-grade SVG2 engine
|
Diagnostic record for one stylesheet rule that matched an element. More...
#include "donner/svg/SVGStyleQuery.h"
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< SourceRange > | ruleSourceRange |
| Matched rule range in SVG source. | |
| std::optional< SourceRange > | selectorSourceRange |
| Matched selector branch in SVG source. | |
| std::vector< SourceRange > | declarationSourceRanges |
| Declaration ranges in SVG source. | |
Diagnostic record for one stylesheet rule that matched an element.