LibWeb: Stub CSSCounterStyleRule

Just the interface. Adds 6 new WPT subtest passes.
This commit is contained in:
Jelle Raaijmakers 2025-07-18 10:53:55 +02:00 committed by Sam Atkins
commit 8dd259b8d8
Notes: github-actions[bot] 2025-07-18 10:52:47 +00:00
7 changed files with 70 additions and 1 deletions

View file

@ -0,0 +1,24 @@
/*
* Copyright (c) 2025, Jelle Raaijmakers <jelle@ladybird.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <LibWeb/Bindings/CSSCounterStyleRulePrototype.h>
#include <LibWeb/Bindings/Intrinsics.h>
#include <LibWeb/CSS/CSSCounterStyleRule.h>
namespace Web::CSS {
CSSCounterStyleRule::CSSCounterStyleRule(JS::Realm& realm, Type type)
: CSSRule(realm, type)
{
}
void CSSCounterStyleRule::initialize(JS::Realm& realm)
{
WEB_SET_PROTOTYPE_FOR_INTERFACE(CSSCounterStyleRule);
Base::initialize(realm);
}
}