Donner
C++20 SVG rendering library
Loading...
Searching...
No Matches
donner::css::Specificity::ABC Struct Reference

A 3-tuple of integers representing the specificity before modifiers such as the "!important" flag have been applied. More...

#include "donner/css/Specificity.h"

Public Member Functions

auto operator<=> (const ABC &other) const
 Comparison operator.
 

Public Attributes

uint32_t a = 0
 The number of ID selectors in the selector.
 
uint32_t b = 0
 The number of class selectors, attributes selectors, and pseudo-classes in the selector.
 
uint32_t c = 0
 The number of type selectors and pseudo-elements in the selector.
 

Detailed Description

A 3-tuple of integers representing the specificity before modifiers such as the "!important" flag have been applied.


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