function pop_css_defaults() { pop_border(); pop_font_family(); pop_font_size(); pop_font_style(); pop_font_weight(); pop_line_height(); global $g_css_handlers; $keys = array_keys($g_css_handlers); foreach ($keys as $key) { $g_css_handlers[$key]->pop(); } }
function css_font_weight($value, $root) { pop_font_weight(); push_font_weight(parse_weight($value)); }