Photon 1.0.0
Loading...
Searching...
No Matches
style.h File Reference
#include "css_tokenizer.h"

Go to the source code of this file.

Classes

struct  litehtml::invalid
 
struct  litehtml::inherit
 
struct  litehtml::property_value
 
class  litehtml::style
 

Namespaces

namespace  litehtml
 

Typedefs

typedef std::map< string_id, property_valuelitehtml::props_map
 

Functions

bool litehtml::parse_url (const css_token &token, string &url)
 
bool litehtml::parse_length (const css_token &tok, css_length &length, int options, string keywords="")
 
bool litehtml::parse_angle (const css_token &tok, float &angle, bool percents_allowed=false)
 
bool litehtml::parse_bg_position (const css_token_vector &tokens, int &index, css_length &x, css_length &y, bool convert_keywords_to_percents)
 
template<typename Enum >
bool litehtml::parse_keyword (const css_token &tok, Enum &val, string keywords, int first_keyword_value=0)