ELinks 0.18.0
css.h File Reference
#include <libcss/libcss.h>
Include dependency graph for css.h:
This graph shows which files directly or indirectly include this file:

Functions

css_error resolve_url (void *pw, const char *base, lwc_string *rel, lwc_string **abs)
 
void select_css (struct html_context *html_context, struct html_element *element)
 
void parse_css (struct html_context *html_context, char *name)
 
void import_css2 (struct html_context *html_context, struct uri *uri)
 

Function Documentation

◆ import_css2()

void import_css2 ( struct html_context * html_context,
struct uri * uri )

◆ parse_css()

void parse_css ( struct html_context * html_context,
char * name )

◆ resolve_url()

css_error resolve_url ( void * pw,
const char * base,
lwc_string * rel,
lwc_string ** abs )

◆ select_css()

void select_css ( struct html_context * html_context,
struct html_element * element )
Todo
Change nsoption font sizes to px.

f_size = FDIV(FMUL(F_96, FDIV(INTTOFIX(nsoption_int(font_size)), F_10)), F_72); f_min = FDIV(FMUL(F_96, FDIV(INTTOFIX(nsoption_int(font_min_size)), F_10)), F_72);

ctx.root_style = root_style; ctx.parent_style = parent_style;