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:
parent
e43027091d
commit
70db40c9b0
25 changed files with 49 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue