Skip to content

Truly independent web browser

682 B
Raw Blame
/*
 * Copyright (c) 2020-2024, Andreas Kling <[email protected]>
 * Copyright (c) 2023, Luke Wilde <[email protected]>
 * Copyright (c) 2025, Sam Atkins <[email protected]>
 *
 * SPDX-License-Identifier: BSD-2-Clause
 */

#pragma once

#include <LibGC/Ptr.h>
#include <LibWeb/Bindings/RustInterface.h>
#include <LibWeb/Bindings/StyleSheetList.h>
#include <LibWeb/Forward.h>

namespace Web::CSS {

// https://drafts.csswg.org/cssom/#the-stylesheetlist-interface
class WEB_API StyleSheetList final : public Bindings::RustInterfaceCell {
    WEB_RUST_INTERFACE(StyleSheetList, style_sheet_list)

public:
    [[nodiscard]] static GC::Ref<StyleSheetList> create(StyleScope&);
};

}