mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 05:37:43 +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
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