summaryrefslogtreecommitdiff
path: root/libs/litehtml/src/el_div.cpp
blob: 983d45ab2aabd4291507f519ff0939f9a932ea20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include "html.h"
#include "el_div.h"


litehtml::el_div::el_div(const document::ptr& doc) : html_tag(doc)
{

}

void litehtml::el_div::parse_attributes()
{
	const char* str = get_attr("align");
	if(str)
	{
		m_style.add_property(_text_align_, str);
	}
	html_tag::parse_attributes();
}