1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 05:08:13 +00:00

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))
{
}