NetSurf
|
Length conversion context data. More...
#include <utils.h>
Data Fields | |
int | vw |
Viewport width in px. More... | |
int | vh |
Viewport height in px. More... | |
const css_computed_style * | root_style |
Computed style for the document root element. More... | |
const css_computed_style* nscss_len_ctx::root_style |
Computed style for the document root element.
May be NULL if unit is not rem, or rlh.
Definition at line 50 of file utils.h.
Referenced by css_utils__fudge_viewport_units(), html_reformat(), and nscss_len2px().
int nscss_len_ctx::vh |
Viewport height in px.
Only used if unit is vh, vw, vi, vb, vmin, or vmax.
Definition at line 45 of file utils.h.
Referenced by css_utils__fudge_viewport_units(), html_reformat(), nscss_len2pt(), and nscss_len2px().
int nscss_len_ctx::vw |
Viewport width in px.
Only used if unit is vh, vw, vi, vb, vmin, or vmax.
Definition at line 40 of file utils.h.
Referenced by css_utils__fudge_viewport_units(), html_reformat(), nscss_len2pt(), nscss_len2px(), and print_make_settings().