mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-19 07:22:21 +00: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:
parent
8d51c41a42
commit
832b0a0ace
Notes:
github-actions[bot]
2025-04-17 17:46:52 +00:00
Author: https://github.com/awesomekling
Commit: 832b0a0ace
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4388
2 changed files with 11 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue