1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 10:08:10 +00:00

LibWeb: Don't include Layout/Node.h from DOM/Element.h

This required moving the CSS::StyleProperty destruct out of line.
This commit is contained in:
Andreas Kling 2023-05-08 07:51:03 +02:00 committed by Jelle Raaijmakers
parent e43027091d
commit 70db40c9b0
25 changed files with 49 additions and 2 deletions

View file

@ -6,6 +6,9 @@
#pragma once
#include <AK/DeprecatedString.h>
#include <LibWeb/CSS/PropertyID.h>
namespace Web::CSS {
enum class Important {
@ -14,6 +17,8 @@ enum class Important {
};
struct StyleProperty {
~StyleProperty();
Important important { Important::No };
CSS::PropertyID property_id;
NonnullRefPtr<StyleValue const> value;