2020-01-18 09:38:21 +01:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
|
|
|
|
*
|
2021-04-22 01:24:48 -07:00
|
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
2020-01-18 09:38:21 +01:00
|
|
|
*/
|
|
|
|
|
2019-07-01 17:17:32 +02:00
|
|
|
#pragma once
|
|
|
|
|
2022-04-13 20:50:43 +01:00
|
|
|
#include <LibWeb/CSS/Percentage.h>
|
2019-07-01 17:17:32 +02:00
|
|
|
|
2020-07-26 20:01:35 +02:00
|
|
|
namespace Web::CSS {
|
2020-03-07 10:27:02 +01:00
|
|
|
|
2019-07-01 17:17:32 +02:00
|
|
|
struct LengthBox {
|
2022-01-19 16:19:43 +00:00
|
|
|
LengthPercentage top { Length::make_auto() };
|
|
|
|
LengthPercentage right { Length::make_auto() };
|
|
|
|
LengthPercentage bottom { Length::make_auto() };
|
|
|
|
LengthPercentage left { Length::make_auto() };
|
2019-07-01 17:17:32 +02:00
|
|
|
};
|
2020-03-07 10:27:02 +01:00
|
|
|
|
|
|
|
}
|