mirror of
https://github.com/RGBCube/serenity
synced 2025-05-19 15:35:09 +00:00
LibHTML: Add the outline of a CSS stylesheet object graph.
This commit is contained in:
parent
2e2b97dc8a
commit
d99b1a9ea0
11 changed files with 123 additions and 0 deletions
17
LibHTML/CSS/StyleDeclaration.h
Normal file
17
LibHTML/CSS/StyleDeclaration.h
Normal file
|
@ -0,0 +1,17 @@
|
|||
#pragma once
|
||||
|
||||
#include <AK/AKString.h>
|
||||
#include <LibHTML/CSS/StyleValue.h>
|
||||
|
||||
class StyleDeclaration {
|
||||
public:
|
||||
StyleDeclaration();
|
||||
~StyleDeclaration();
|
||||
|
||||
const String& property_name() const { return m_property_name; }
|
||||
const StyleValue& value() const { return *m_value; }
|
||||
|
||||
public:
|
||||
String m_property_name;
|
||||
RetainPtr<StyleValue> m_value;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue