mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 10:07:15 +02:00
LibWeb: Invalidate style when HTMLDialogElement modal state changes
This fixes Layout/input/dialog-open-modal.html which began flaking super hard after the preceding commits that reduced style invalidation for focus-related pseudo class selectors.
This commit is contained in:
committed by
Andreas Kling
parent
8d51c41a42
commit
832b0a0ace
Notes:
github-actions[bot]
2025-04-17 17:46:52 +00:00
Author: https://github.com/awesomekling Commit: https://github.com/LadybirdBrowser/ladybird/commit/832b0a0ace2 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4388
@@ -37,6 +37,7 @@ public:
|
||||
virtual Optional<ARIA::Role> default_role() const override { return ARIA::Role::dialog; }
|
||||
|
||||
bool is_modal() const { return m_is_modal; }
|
||||
void set_is_modal(bool);
|
||||
|
||||
private:
|
||||
HTMLDialogElement(DOM::Document&, DOM::QualifiedName);
|
||||
|
||||
Reference in New Issue
Block a user