|
libhtmlpp 1.0.0
|
One "[name]"/"[name=value]"/"[name~=value]"/etc. More...
#include <css.h>
Public Attributes | |
| std::string | name |
| std::string | op |
| std::string | value |
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.