ladybird/Userland/Libraries/LibWeb/CSS/StyleValues/DisplayStyleValue.cpp
Emil Militzer 31e1be0438 LibWeb: Support multi-keyword syntax for CSS display property
The Display class already supported all specific values, and now they
will be parsed too. The display property now has a special type
DisplayStyleValue.
2023-05-02 20:27:28 +02:00

16 lines
328 B
C++

/*
* Copyright (c) 2023, Emil Militzer <emil.militzer@posteo.de>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include "DisplayStyleValue.h"
namespace Web::CSS {
ValueComparingNonnullRefPtr<DisplayStyleValue> DisplayStyleValue::create(Display const& display)
{
return adopt_ref(*new DisplayStyleValue(display));
}
}