mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-24 02:03:06 -05:00
0e3487b9ab
This matches the name in the CSS Typed OM spec. https://drafts.css-houdini.org/css-typed-om-1/#cssstylevalue No behaviour changes.
28 lines
458 B
C++
28 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 {};
|
|
};
|
|
|
|
}
|