#include "stylesheet.h"
#include "parse/language.h"
Go to the source code of this file.
◆ css__make_style_important()
| void css__make_style_important |
( |
css_style * |
style | ) |
|
Make a style important
- Parameters
-
◆ css__parse_important()
| css_error css__parse_important |
( |
css_language * |
c, |
|
|
const parserutils_vector * |
vector, |
|
|
int32_t * |
ctx, |
|
|
uint8_t * |
result |
|
) |
| |
Parse !important
- Parameters
-
| c | Parsing context |
| vector | Vector of tokens to process |
| ctx | Pointer to vector iteration context |
| result | Pointer to location to receive result |
- Returns
- CSS_OK on success, CSS_INVALID if "S* ! S* important" is not at the start of the vector
Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.