81 std::set<std::string> &seenMediaBlocks);
Public declarations for libhtmlpp HTML element types and utilities.
Core namespace for the libhtmlpp HTML parsing and printing library.
void collectStyleBlocks(CSSStyleSheet &sheet, Element &root)
Finds every <style> element anywhere in the subtree rooted at root (document order) and appends each ...
CSSRuleResult getCSSRules(HtmlElement &target, const CSSStyleSheet &sheet, std::set< std::string > &seenMediaBlocks)
Returns every CSS rule that applies to target: its own inline style="..." attribute,...
Result of getCSSRules: the fully cascaded property set (name -> value, "!important" stripped) and the...
std::map< std::string, std::string > properties