/* * Copyright (c) 2021, Sam Atkins * * SPDX-License-Identifier: BSD-2-Clause */ #include namespace Web::CSS { CSSMediaRule::CSSMediaRule(NonnullRefPtr&& media, NonnullRefPtrVector&& rules) : CSSConditionRule(move(rules)) , m_media(move(media)) { } CSSMediaRule::~CSSMediaRule() { } String CSSMediaRule::condition_text() const { return m_media->media_text(); } void CSSMediaRule::set_condition_text(String text) { m_media->set_media_text(text); } }