mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-03 21:12:08 +02:00
HTMLInputElement still mapped its picker open-state change directly to a style invalidation reason. Move that mapping into CSS::Invalidation::ElementStateInvalidator alongside the matching select open-state helper. This keeps another element-state invalidation decision out of the HTML implementation without changing the invalidation behavior.
24 lines
536 B
C++
24 lines
536 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_modal_state_change(DOM::Element&);
|
|
void invalidate_style_after_open_state_change(DOM::Element&);
|
|
void invalidate_style_after_option_selected_state_change(DOM::Element&);
|
|
void invalidate_style_after_input_open_state_change(DOM::Element&);
|
|
void invalidate_style_after_select_open_state_change(DOM::Element&);
|
|
|
|
}
|