mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-25 14:05:15 +00:00
25 lines
452 B
C++
25 lines
452 B
C++
/*
|
|
* Copyright (c) 2024, Sam Atkins <sam@ladybird.org>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <LibWeb/CSS/CSSStyleValue.h>
|
|
|
|
namespace Web::CSS {
|
|
|
|
// https://drafts.css-houdini.org/css-typed-om-1/#cssnumericvalue
|
|
class CSSNumericValue : public CSSStyleValue {
|
|
public:
|
|
virtual ~CSSNumericValue() override = default;
|
|
|
|
protected:
|
|
explicit CSSNumericValue(Type type)
|
|
: CSSStyleValue(type)
|
|
{
|
|
}
|
|
};
|
|
|
|
}
|