Updated Procedural cosmetic filters (markdown)

Raymond Hill 2016-12-27 11:27:23 -05:00
parent 88919be615
commit 0a7cea8c5e

@ -31,7 +31,7 @@ The `:has(arg)` operator is actually a planned pseudo-class in CSS4, but as of w
- Description: Select element _subject_ if and only if the result of evaluating _arg_ is one or more elements.
- Chainable: Yes.
- _subject_: Can be a plain CSS selector, or a procedural cosmetic filter.
- _arg_: A valid plain CSS selector or procedural cosmetic filter.
- _arg_: A valid plain CSS selector or procedural cosmetic filter, which is evaluated in the context of the _subject_ element.
- Examples:
- `mobile.twitter.com##main [role="region"] > [role="grid"] > [role="rowgroup"] [role="row"]:if(div:last-of-type span:has-text(/^Promoted by/))`