mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-18 22:19:50 +00:00
LibWeb: Add HTMLElement::uses_button_layout()
This suits the spec a bit better, and exposes the fact that we were allowing `::ImageButton` to use the button layout although it is never specified that it should do so. Tests were rebaselined for this.
This commit is contained in:
parent
027c9f53be
commit
ff5f80a196
Notes:
github-actions[bot]
2025-08-18 10:05:59 +00:00
Author: https://github.com/gmta
Commit: ff5f80a196
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5894
Reviewed-by: https://github.com/AtkinsSJ ✅
8 changed files with 112 additions and 99 deletions
|
@ -253,6 +253,7 @@ public:
|
|||
virtual bool suffering_from_bad_input() const override;
|
||||
|
||||
virtual bool is_mutable() const override;
|
||||
virtual bool uses_button_layout() const override;
|
||||
|
||||
private:
|
||||
HTMLInputElement(DOM::Document&, DOM::QualifiedName);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue