mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 19:59:17 +00:00
LibWeb: Add CSSConditionRule
https://www.w3.org/TR/css-conditional-3/#the-cssconditionrule-interface This simply exposes a condition string, which is implemented differently in each sub-class.
This commit is contained in:
parent
06f9395056
commit
0b23a20ad5
Notes:
sideshowbarker
2024-07-18 03:20:27 +09:00
Author: https://github.com/AtkinsSJ
Commit: 0b23a20ad5
Pull-request: https://github.com/SerenityOS/serenity/pull/10262
Reviewed-by: https://github.com/awesomekling
4 changed files with 53 additions and 0 deletions
20
Userland/Libraries/LibWeb/CSS/CSSConditionRule.cpp
Normal file
20
Userland/Libraries/LibWeb/CSS/CSSConditionRule.cpp
Normal file
|
@ -0,0 +1,20 @@
|
|||
/*
|
||||
* Copyright (c) 2021, Sam Atkins <atkinssj@serenityos.org>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#include <LibWeb/CSS/CSSConditionRule.h>
|
||||
|
||||
namespace Web::CSS {
|
||||
|
||||
CSSConditionRule::CSSConditionRule(NonnullRefPtrVector<CSSRule>&& rules)
|
||||
: CSSGroupingRule(move(rules))
|
||||
{
|
||||
}
|
||||
|
||||
CSSConditionRule::~CSSConditionRule()
|
||||
{
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue