#ifndef LH_CSS_POSITION_H
#define LH_CSS_POSITION_H

#include "css_length.h"

namespace litehtml {
struct css_position {
  css_length x;
  css_length y;
  css_length width;
  css_length height;

  css_position() = default;

  css_position(const css_position& val) {
    x = val.x;
    y = val.y;
    width = val.width;
    height = val.height;
  }

  css_position& operator=(const css_position& val) {
    x = val.x;
    y = val.y;
    width = val.width;
    height = val.height;
    return *this;
  }
};
}  // namespace litehtml

#endif  // LH_CSS_POSITION_H
