mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:07: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:
parent
2758d99bbc
commit
97a78cdd28
4 changed files with 69 additions and 0 deletions
20
Userland/Libraries/LibWeb/CSS/CSSRuleList.cpp
Normal file
20
Userland/Libraries/LibWeb/CSS/CSSRuleList.cpp
Normal 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()
|
||||
{
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue