#include <parserutils/utils/vector.h>
#include "stylesheet.h"
#include "lex/lex.h"
#include "parse/language.h"
Go to the source code of this file.
◆ css__parse_font_descriptor()
Parse a descriptor in an @font-face rule
- Parameters
-
| c | Parsing context |
| descriptor | Token for this descriptor |
| vector | Vector of tokens to process |
| ctx | Pointer to vector iteration context |
| rule | Rule to process descriptor into |
- Returns
- CSS_OK on success, CSS_BADPARM on bad parameters, CSS_INVALID on invalid syntax, CSS_NOMEM on memory exhaustion