mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 20:59:16 +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
Notes:
sideshowbarker
2024-07-18 03:20:38 +09:00
Author: https://github.com/AtkinsSJ
Commit: 97a78cdd28
Pull-request: https://github.com/SerenityOS/serenity/pull/10262
Reviewed-by: https://github.com/awesomekling
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