Annotation-attribute framework macros for ra8-firmware.
#define RA8_PRIV
Module-private helper: shared across TUs but only inside one library.
Minimal content-CSS cascade for the reflow ereader engine (#111).
void priv_reflow_css_parse_one_block(ra8_css_sheet_t *sheet, const char *sel, size_t sel_len, const char *block, size_t block_len)
Dispatch one selector|@rule { block }: at-rule vs.
void priv_reflow_css_parse_decls(const char *s, size_t len, ra8_css_style_t *out)
Parse a prop:value; ... declaration body (no braces) into out.
char priv_reflow_css_lower(char c)
ASCII-fold one byte to lower case.
const char * priv_reflow_css_trim(const char *s, size_t *len)
Trim leading + trailing whitespace from s[0..*len); returns start.
bool priv_reflow_css_ci_eq(const char *s, size_t len, const char *lit)
Case-insensitive compare of span s[0..len) against NUL literal lit.
bool priv_reflow_css_is_ws(char c)
True for CSS whitespace (space / tab / newline / CR / FF).
A parsed stylesheet: rule + @font-face arrays and a name byte pool.
A declared or computed style: a presence mask plus property values.