1 #ifndef LH_CSS_POSITION_H
2 #define LH_CSS_POSITION_H
3 
4 #include "css_length.h"
5 
6 namespace litehtml
7 {
8 	struct css_position
9 	{
10 		css_length	x;
11 		css_length	y;
12 		css_length	width;
13 		css_length	height;
14 
css_positioncss_position15 		css_position()
16 		{
17 
18 		}
19 
css_positioncss_position20 		css_position(const css_position& val)
21 		{
22 			x		= val.x;
23 			y		= val.y;
24 			width	= val.width;
25 			height	= val.height;
26 		}
27 
28 		css_position& operator=(const css_position& val)
29 		{
30 			x		= val.x;
31 			y		= val.y;
32 			width	= val.width;
33 			height	= val.height;
34 			return *this;
35 		}
36 	};
37 }
38 
39 #endif  // LH_CSS_POSITION_H
40