libhtmlpp 1.0.0
Loading...
Searching...
No Matches
Public Attributes | List of all members
libhtmlpp::AttributeCondition Struct Reference

One "[name]"/"[name=value]"/"[name~=value]"/etc. More...

#include <css.h>

Public Attributes

std::string name
 
std::string op
 
std::string value
 

Detailed Description

One "[name]"/"[name=value]"/"[name~=value]"/etc.

attribute-selector condition parsed out of a compound selector, for verifying against a target element's own attribute map (see collectApproximateMatches's targetAttributes) instead of being ignored the way this matcher otherwise treats attribute selectors (see approximateSelectorMatch's own doc comment) – op is "" for a bare "[name]" existence check, otherwise one of "=", "~=", "|=", "^=", "$=", "*=" per the CSS attribute-selector spec; value is unquoted and only meaningful when op is non-empty.

Definition at line 141 of file css.h.

Member Data Documentation

◆ name

std::string libhtmlpp::AttributeCondition::name

Definition at line 142 of file css.h.

◆ op

std::string libhtmlpp::AttributeCondition::op

Definition at line 143 of file css.h.

◆ value

std::string libhtmlpp::AttributeCondition::value

Definition at line 144 of file css.h.


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