/* browser_html: a small tolerant HTML tree + CSS cascade for the browser.
*
* Freestanding and independent of ngui: it parses a byte buffer into a static
* node/string arena and resolves the subset of CSS the browser understands.
* One document is live at a time (the browser is single-threaded). */
#ifndef BROWSER_HTML_H
#define BROWSER_HTML_H
#include "cursor_abi.h"
#define BR_CURSOR_AUTO 0
#define BR_MAX_NODES 16384
#define BR_TEXT_SIZE 524288
#define BR_ATTR_SIZE 4194304
#define BR_CSS_SIZE 262144 /* inline