/* * Copyright (c) 2025, Sam Atkins * * SPDX-License-Identifier: BSD-2-Clause */ #include "CustomIdentStyleValue.h" #include #include namespace Web::CSS { Vector CustomIdentStyleValue::tokenize() const { return { Parser::Token::create_ident(m_custom_ident) }; } // https://drafts.css-houdini.org/css-typed-om-1/#reify-ident GC::Ref CustomIdentStyleValue::reify(JS::Realm& realm, String const&) const { // 1. Return a new CSSKeywordValue with its value internal slot set to the serialization of ident. return CSSKeywordValue::create(realm, m_custom_ident); } }