2025-09-12 15:07:19 +01:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2025, Sam Atkins <sam@ladybird.org>
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "AbstractImageStyleValue.h"
|
|
|
|
#include <LibWeb/CSS/CSSImageValue.h>
|
|
|
|
|
|
|
|
namespace Web::CSS {
|
|
|
|
|
|
|
|
// https://drafts.css-houdini.org/css-typed-om-1/#reify-stylevalue
|
2025-09-25 13:00:43 +01:00
|
|
|
GC::Ref<CSSStyleValue> AbstractImageStyleValue::reify(JS::Realm& realm, FlyString const&) const
|
2025-09-12 15:07:19 +01:00
|
|
|
{
|
|
|
|
// AD-HOC: There's no spec description of how to reify as a CSSImageValue.
|
2025-09-19 14:54:23 +01:00
|
|
|
return CSSImageValue::create(realm, *this);
|
2025-09-12 15:07:19 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|