LibHTML: More work on the CSS object model.

This commit is contained in:
Andreas Kling
2019-06-21 19:19:49 +02:00
parent d343fb2429
commit 02e02ca3a5
6 changed files with 41 additions and 12 deletions

View File

@@ -1,6 +1,8 @@
#include <LibHTML/CSS/StyleDeclaration.h>
StyleDeclaration::StyleDeclaration()
StyleDeclaration::StyleDeclaration(const String& property_name, NonnullRefPtr<StyleValue>&& value)
: m_property_name(property_name)
, m_value(move(value))
{
}