1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-25 16:35:06 +00:00

LibHTML: Add an empty CSS parser.

This commit is contained in:
Andreas Kling 2019-06-21 20:54:13 +02:00
parent 85d71024f7
commit 891e668e35
14 changed files with 67 additions and 11 deletions

View file

@ -5,7 +5,7 @@
class StyleDeclaration : public RefCounted<StyleDeclaration> {
public:
NonnullRefPtr<StyleDeclaration> create(const String& property_name, NonnullRefPtr<StyleValue>&& value)
static NonnullRefPtr<StyleDeclaration> create(const String& property_name, NonnullRefPtr<StyleValue>&& value)
{
return adopt(*new StyleDeclaration(property_name, move(value)));
}