mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 05:38:11 +00:00

This required splitting out CSS::StyleProperty into its own file and out-of-lining Element::layout_node().
23 lines
377 B
C++
23 lines
377 B
C++
/*
|
|
* Copyright (c) 2023, Andreas Kling <kling@serenityos.org>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
namespace Web::CSS {
|
|
|
|
enum class Important {
|
|
No,
|
|
Yes,
|
|
};
|
|
|
|
struct StyleProperty {
|
|
Important important { Important::No };
|
|
CSS::PropertyID property_id;
|
|
NonnullRefPtr<StyleValue const> value;
|
|
DeprecatedString custom_name {};
|
|
};
|
|
|
|
}
|