/src/serenity/Userland/Libraries/LibWeb/CSS/StyleValues/CSSNumericValue.h
Line | Count | Source |
1 | | /* |
2 | | * Copyright (c) 2024, Sam Atkins <sam@ladybird.org> |
3 | | * |
4 | | * SPDX-License-Identifier: BSD-2-Clause |
5 | | */ |
6 | | |
7 | | #pragma once |
8 | | |
9 | | #include <LibWeb/CSS/CSSStyleValue.h> |
10 | | |
11 | | namespace Web::CSS { |
12 | | |
13 | | // https://drafts.css-houdini.org/css-typed-om-1/#cssnumericvalue |
14 | | class CSSNumericValue : public CSSStyleValue { |
15 | | public: |
16 | | virtual ~CSSNumericValue() override = default; |
17 | | |
18 | | protected: |
19 | | explicit CSSNumericValue(Type type) |
20 | 0 | : CSSStyleValue(type) |
21 | 0 | { |
22 | 0 | } |
23 | | }; |
24 | | |
25 | | } |