Modest
Modest copied to clipboard
Modest is a fast HTML renderer implemented as a pure C99 library with no outside dependencies.
I've noticed a pretty annoying problem on some websites (I think there are at least a thousand of them in Alexa 1M). An unclosed Iframe tag breaks all the HTML...
```sh modest/source/mycss/selectors/function_parser.c:469:57: error: cast to smaller integer type 'mycss_selectors_function_drop_type_t' (aka 'enum mycss_selectors_function_drop_type') from 'void *' [-Werror,-Wvoid-pointer-to-enum-cast] mycss_selectors_function_drop_type_t drop_val = mycss_selector_value_drop(selector->value); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ modest/include/mycss/selectors/value.h:28:41: note: expanded from macro 'mycss_selector_value_drop' #define mycss_selector_value_drop(obj) ((mycss_selectors_function_drop_type_t)(obj))...
There is a small typo in include/myhtml/api.h, source/myhtml/api.h. Should read `manually` rather than `manualy`. Semi-automated pull request generated by https://github.com/timgates42/meticulous/blob/master/docs/NOTE.md
Does modest do the rendering or does it just read HTML?
When parsing border radius with horizontal/vertical values, append missing values accordingly to the top-right, bottom-right and bottom-left when missing: For instance: border-radius:1px/2px 3px; should be parsed as border-radius: 1px 1px...
Fantastic repo, thanks for sharing, reading the homepage it has multi-threading basic HTML and CSS support, so what doesn't it do? I'd suggest a tick-box list would be really awesome...
https://github.com/nidium/Nidium https://github.com/litehtml/litehtml/
Hello ! I just found your project and thought that FLTK http://www.fltk.org/ could be a good library to use for render. Cheers !