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

#pragma once

#include <LibWeb/CSS/Length.h>
#include <LibWeb/CSS/StyleValue.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() };
};

}