mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +00:00
LibWeb: Add place-self css property support
This commit is contained in:
committed by
Andreas Kling
parent
f24aab662f
commit
da2cd73bcf
@@ -51,6 +51,7 @@
|
||||
#include <LibWeb/CSS/StyleValues/PercentageStyleValue.h>
|
||||
#include <LibWeb/CSS/StyleValues/PlaceContentStyleValue.h>
|
||||
#include <LibWeb/CSS/StyleValues/PlaceItemsStyleValue.h>
|
||||
#include <LibWeb/CSS/StyleValues/PlaceSelfStyleValue.h>
|
||||
#include <LibWeb/CSS/StyleValues/PositionStyleValue.h>
|
||||
#include <LibWeb/CSS/StyleValues/RadialGradientStyleValue.h>
|
||||
#include <LibWeb/CSS/StyleValues/RatioStyleValue.h>
|
||||
@@ -325,6 +326,12 @@ PlaceItemsStyleValue const& StyleValue::as_place_items() const
|
||||
return static_cast<PlaceItemsStyleValue const&>(*this);
|
||||
}
|
||||
|
||||
PlaceSelfStyleValue const& StyleValue::as_place_self() const
|
||||
{
|
||||
VERIFY(is_place_self());
|
||||
return static_cast<PlaceSelfStyleValue const&>(*this);
|
||||
}
|
||||
|
||||
PositionStyleValue const& StyleValue::as_position() const
|
||||
{
|
||||
VERIFY(is_position());
|
||||
|
||||
Reference in New Issue
Block a user