mirror of
https://github.com/RGBCube/serenity
synced 2025-05-18 08:35:07 +00:00

SPDX License Identifiers are a more compact / standardized way of representing file license information. See: https://spdx.dev/resources/use/#identifiers This was done with the `ambr` search and replace tool. ambr --no-parent-ignore --key-from-file --rep-from-file key.txt rep.txt *
26 lines
509 B
C++
26 lines
509 B
C++
/*
|
|
* Copyright (c) 2020, Linus Groh <mail@linusgroh.de>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <AK/HashMap.h>
|
|
#include <LibWeb/CSS/StyleResolver.h>
|
|
#include <LibWeb/DOM/Document.h>
|
|
#include <LibWeb/DOM/Element.h>
|
|
|
|
namespace Web::CSS {
|
|
|
|
class StyleInvalidator {
|
|
public:
|
|
explicit StyleInvalidator(DOM::Document&);
|
|
~StyleInvalidator();
|
|
|
|
private:
|
|
DOM::Document& m_document;
|
|
HashMap<DOM::Element*, Vector<MatchingRule>> m_elements_and_matching_rules_before;
|
|
};
|
|
|
|
}
|