1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 18:17:44 +00:00

LibWeb: Add CSSRuleList

"The CSSRuleList interface represents an ordered collection of CSS style
rules." - https://www.w3.org/TR/cssom-1/#the-cssrulelist-interface
This commit is contained in:
Sam Atkins 2021-09-28 15:17:11 +01:00 committed by Andreas Kling
parent 2758d99bbc
commit 97a78cdd28
4 changed files with 69 additions and 0 deletions

View file

@ -0,0 +1,20 @@
/*
* Copyright (c) 2021, Sam Atkins <atkinssj@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <LibWeb/CSS/CSSRuleList.h>
namespace Web::CSS {
CSSRuleList::CSSRuleList(NonnullRefPtrVector<CSSRule>&& rules)
: m_rules(rules)
{
}
CSSRuleList::~CSSRuleList()
{
}
}