LengthBox.h 451 B

123456789101112131415161718192021
  1. /*
  2. * Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
  3. *
  4. * SPDX-License-Identifier: BSD-2-Clause
  5. */
  6. #pragma once
  7. #include <LibWeb/CSS/Length.h>
  8. #include <LibWeb/CSS/StyleValue.h>
  9. namespace Web::CSS {
  10. struct LengthBox {
  11. LengthPercentage top { Length::make_auto() };
  12. LengthPercentage right { Length::make_auto() };
  13. LengthPercentage bottom { Length::make_auto() };
  14. LengthPercentage left { Length::make_auto() };
  15. };
  16. }