|
XenevaOS
|


Go to the source code of this file.
Functions | |
| NsCssNode * | NsDomParse (const char *html, size_t len) |
| const char * | NsDomAttr (NsCssNode *n, const char *name) |
| int | NsDomIsText (NsCssNode *n) |
| const char * | NsDomTag (NsCssNode *n) |
| const char * NsDomAttr | ( | NsCssNode * | n, |
| const char * | name | ||
| ) |
| int NsDomIsText | ( | NsCssNode * | n | ) |
DOM parsing for the XenevaOS NetSurf renderer.
libhubbub builds a real HTML5 tree in libdom (implied html/head/body, entity expansion, foster parenting, malformed-tag recovery). We copy that tree into NsCssNode so the existing libcss select client can run over attributes, classes, siblings and text nodes.
| const char * NsDomTag | ( | NsCssNode * | n | ) |