summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/CSS/LengthBox.h
blob: 7aef70eaa43d39cdf4b3b7dcf481cab0d98cda75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 * Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
 *
 * SPDX-License-Identifier: BSD-2-Clause
 */

#pragma once

#include <LibWeb/CSS/Percentage.h>

namespace Web::CSS {

struct LengthBox {
    LengthPercentage top { Length::make_auto() };
    LengthPercentage right { Length::make_auto() };
    LengthPercentage bottom { Length::make_auto() };
    LengthPercentage left { Length::make_auto() };
};

}