mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-28 03:44:15 +00:00
LibHTML: Add the outline of a CSS stylesheet object graph.
This commit is contained in:
parent
2e2b97dc8a
commit
d99b1a9ea0
Notes:
sideshowbarker
2024-07-19 13:32:39 +09:00
Author: https://github.com/awesomekling
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