mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 17:55:07 +02: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:
committed by
Sam Atkins
parent
027c9f53be
commit
ff5f80a196
Notes:
github-actions[bot]
2025-08-18 10:05:59 +00:00
Author: https://github.com/gmta Commit: https://github.com/LadybirdBrowser/ladybird/commit/ff5f80a1964 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5894 Reviewed-by: https://github.com/AtkinsSJ ✅
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user