2020-06-04 11:06:32 -03:00
|
|
|
/*
|
|
|
|
|
* Copyright (c) 2020, Andreas Kling <kling@serenityos.org>
|
|
|
|
|
*
|
2021-04-22 05:24:48 -03:00
|
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
2020-06-04 11:06:32 -03:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#include <LibWeb/CSS/StyleSheetList.h>
|
|
|
|
|
|
2020-07-21 11:23:08 -03:00
|
|
|
namespace Web::CSS {
|
2020-06-04 11:06:32 -03:00
|
|
|
|
2021-03-08 07:22:18 -03:00
|
|
|
void StyleSheetList::add_sheet(NonnullRefPtr<CSSStyleSheet> sheet)
|
2020-06-04 11:06:32 -03:00
|
|
|
{
|
|
|
|
|
m_sheets.append(move(sheet));
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-26 14:37:56 -03:00
|
|
|
StyleSheetList::StyleSheetList(DOM::Document& document)
|
2020-06-04 11:06:32 -03:00
|
|
|
: m_document(document)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|