mirror of
https://github.com/msva/lua-htmlparser.git
synced 2024-11-04 23:34:20 +00:00
last few selectors lacked a description
This commit is contained in:
parent
8483c2ca02
commit
73faf23250
@ -54,9 +54,9 @@ Supported selectors are a subset of [jQuery's selectors][2]:
|
|||||||
- `"[attribute~='value']"` word: attribute's value is a space-separated token, where one of the tokens is the given value
|
- `"[attribute~='value']"` word: attribute's value is a space-separated token, where one of the tokens is the given value
|
||||||
- `"[attribute^='value']"` starts with: attribute's value starts with given value
|
- `"[attribute^='value']"` starts with: attribute's value starts with given value
|
||||||
- `"[attribute$='value']"` ends with: attribute's value ends with given value
|
- `"[attribute$='value']"` ends with: attribute's value ends with given value
|
||||||
- `":not(selector)"`
|
- `":not(selectorstring)"` elements not selected by given selector string
|
||||||
- `"ancestor descendant"`
|
- `"ancestor descendant"` elements selected by the `descendant` selector string, that are descendants of any element selected by the `ancestor` selector string
|
||||||
- `"parent > child"`
|
- `"parent > child"` elements selected by the `child` selector string, that are a child of any element selected by the `parent` selector string
|
||||||
|
|
||||||
Selectors can be combined; e.g. `".class:not([attribute]) element.class"`
|
Selectors can be combined; e.g. `".class:not([attribute]) element.class"`
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user