mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-03 13:02:09 +02:00
Element.cpp still spelled out the :defined pseudo-class invalidation set when custom element state changed. Move that selector policy into CustomElementInvalidator. This keeps Element responsible for the state transition, while CSS::Invalidation owns the affected selector feature.
20 lines
273 B
C++
20 lines
273 B
C++
/*
|
|
* Copyright (c) 2026-present, the Ladybird developers
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
namespace Web::DOM {
|
|
|
|
class Element;
|
|
|
|
}
|
|
|
|
namespace Web::CSS::Invalidation {
|
|
|
|
void invalidate_style_after_custom_element_state_change(DOM::Element&);
|
|
|
|
}
|