/* * Copyright (c) 2021, the SerenityOS developers. * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include #include #include #include namespace Web::CSS { class CSSRule : public RefCounted { public: virtual ~CSSRule(); enum class Type : u32 { Style, Import, Media, __Count, }; virtual StringView class_name() const = 0; virtual Type type() const = 0; template bool fast_is() const = delete; private: }; }