Function EmToPx->selector_corresponds
Definitions
sources/css_cleanup.php
- Whether the $complex selector corresponds to the $simple selector.
- Visibility: protected
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: bool
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$simple | string | required parameter | N/A | N/A | Simple selector |
$complex | string | required parameter | N/A | N/A | Complex selector |
$may_be_chained_by | array | [] | N/A | N/A | Possible prefixes to the simple selector to make the complex selector |
$just_element | boolean | False | N/A | N/A | Just check the element part of the selector, ignore any complex selector parts of it (like attribute selector) |
Return
- Whether it corresponds
- Type: boolean
- Set: N/A
- Range: N/A