Files
serenity/Userland/Libraries/LibWeb/CSS/StyleProperty.h
Sam Atkins a4981ae745 LibWeb: Rename StyleValue -> CSSStyleValue
This matches the name in the CSS Typed OM spec.
https://drafts.css-houdini.org/css-typed-om-1/#cssstylevalue

No behaviour changes.

(cherry picked from commit 0e3487b9ab455a7648185995363bb3b487551d40)
2024-10-10 10:08:59 -04:00

29 lines
458 B
C++

/*
* Copyright (c) 2023, Andreas Kling <kling@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <AK/FlyString.h>
#include <LibWeb/CSS/PropertyID.h>
namespace Web::CSS {
enum class Important {
No,
Yes,
};
struct StyleProperty {
~StyleProperty();
Important important { Important::No };
CSS::PropertyID property_id;
NonnullRefPtr<CSSStyleValue const> value;
FlyString custom_name {};
};
}