/* * Copyright (c) 2021, Sam Atkins * Copyright (c) 2023, Tim Flynn * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include #include #include #include // https://www.w3.org/TR/cssom-1/#namespacedef-css namespace Web::CSS { WebIDL::ExceptionOr escape(JS::VM&, StringView identifier); bool supports(JS::VM&, StringView property, StringView value); WebIDL::ExceptionOr supports(JS::VM&, StringView condition_text); }