ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
ra8_css_element_t Struct Reference

The identity of one element, used to match selectors. More...

#include <reflow_css.h>

Data Fields

uint8_t tag
 reflow_html_tag_t of the element.
const char * id
 id attribute bytes (NULL = none).
uint16_t id_len
 Length of id, bytes.
const char * class_str
 class attribute bytes (NULL = none).
uint16_t class_len
 Length of class_str, bytes.

Detailed Description

The identity of one element, used to match selectors.

id / class_str point at caller-owned bytes (e.g. slices of the reflow text pool); they need not be NUL-terminated. A NULL pointer or zero length means the attribute is absent.

Definition at line 230 of file reflow_css.h.

Field Documentation

◆ class_len

uint16_t ra8_css_element_t::class_len

Length of class_str, bytes.

Definition at line 235 of file reflow_css.h.

Referenced by internal_anc_matches(), priv_reflow_tok_css_element(), and ra8_css_rule_matches().

◆ class_str

const char* ra8_css_element_t::class_str

class attribute bytes (NULL = none).

Definition at line 234 of file reflow_css.h.

Referenced by internal_anc_matches(), priv_reflow_tok_css_element(), and ra8_css_rule_matches().

◆ id

const char* ra8_css_element_t::id

id attribute bytes (NULL = none).

Definition at line 232 of file reflow_css.h.

Referenced by internal_anc_matches(), priv_reflow_tok_css_element(), and ra8_css_rule_matches().

◆ id_len

uint16_t ra8_css_element_t::id_len

Length of id, bytes.

Definition at line 233 of file reflow_css.h.

Referenced by internal_anc_matches(), priv_reflow_tok_css_element(), and ra8_css_rule_matches().

◆ tag

uint8_t ra8_css_element_t::tag

The documentation for this struct was generated from the following file: