2020-01-18 05:38:21 -03:00
|
|
|
/*
|
|
|
|
|
* Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
|
|
|
|
|
*
|
2021-04-22 05:24:48 -03:00
|
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
2020-01-18 05:38:21 -03:00
|
|
|
*/
|
|
|
|
|
|
2021-03-07 11:00:02 -03:00
|
|
|
#include <LibWeb/CSS/CSSStyleRule.h>
|
2019-06-21 14:19:49 -03:00
|
|
|
|
2020-07-26 15:01:35 -03:00
|
|
|
namespace Web::CSS {
|
2020-03-07 06:27:02 -03:00
|
|
|
|
2021-03-13 16:11:33 -03:00
|
|
|
CSSStyleRule::CSSStyleRule(Vector<Selector>&& selectors, NonnullRefPtr<CSSStyleDeclaration>&& declaration)
|
2019-06-21 14:19:49 -03:00
|
|
|
: m_selectors(move(selectors))
|
2019-09-30 15:06:17 -03:00
|
|
|
, m_declaration(move(declaration))
|
2019-06-21 14:19:49 -03:00
|
|
|
{
|
2019-06-21 15:54:13 -03:00
|
|
|
}
|
2019-06-21 14:19:49 -03:00
|
|
|
|
2021-03-07 11:00:02 -03:00
|
|
|
CSSStyleRule::~CSSStyleRule()
|
2019-06-21 15:54:13 -03:00
|
|
|
{
|
2019-06-21 14:19:49 -03:00
|
|
|
}
|
2020-03-07 06:27:02 -03:00
|
|
|
|
|
|
|
|
}
|