mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 11:49:44 +00:00
LibWeb: Stub CSSCounterStyleRule
Just the interface. Adds 6 new WPT subtest passes.
This commit is contained in:
parent
7ad01d28a8
commit
8dd259b8d8
Notes:
github-actions[bot]
2025-07-18 10:52:47 +00:00
Author: https://github.com/gmta
Commit: 8dd259b8d8
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5501
Reviewed-by: https://github.com/AtkinsSJ ✅
7 changed files with 70 additions and 1 deletions
24
Libraries/LibWeb/CSS/CSSCounterStyleRule.cpp
Normal file
24
Libraries/LibWeb/CSS/CSSCounterStyleRule.cpp
Normal 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);
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue