diff --git a/src/parser/selector.rs b/src/parser/selector.rs index 49030b3..50e0fae 100644 --- a/src/parser/selector.rs +++ b/src/parser/selector.rs @@ -218,6 +218,55 @@ impl Selector { Selectors::new(items) } + /// Parsel-inspired CSS query with `::text` and `::attr(name)` + /// pseudo-element support, returning all extracted values: + /// + /// - `"li::text"` — the full recursive text of each matching element + /// (including `