Donner
C++20 SVG rendering library
Loading...
Searching...
No Matches
Declaration.h File Reference
#include <ostream>
#include <span>
#include <string>
#include <variant>
#include <vector>
#include "donner/base/RcString.h"
#include "donner/css/Rule.h"
Include dependency graph for Declaration.h:
This graph shows which files directly or indirectly include this file:

Classes

struct  donner::css::Declaration
 A declaration is a CSS name/value pair, such as color: red;. More...
struct  donner::css::DeclarationOrAtRule
 Return value of parsers that may return either a declaration or an AtRule, specifically donner::css::parser::DeclarationListParser::Parse. More...

Namespaces

namespace  donner
 Top-level Donner namespace, which is split into different sub-namespaces such as donner::svg and donner::css.
namespace  donner::css
 Donner CSS library, a standalone composable CSS parser.

Functions

std::string donner::css::mergeStyleDeclarations (std::span< const Declaration > existing, std::span< const Declaration > updates)
 Merge two sets of CSS declarations, where updates override declarations in existing that have the same property name (case-insensitive).