LibWeb: Implement <input type=submit> without using LibGUI

Following in the footsteps of <input type=checkbox>, this patch adds
LayoutButton which implements a basic push button using LibGfx styling
primitives.
This commit is contained in:
Andreas Kling 2020-09-12 17:56:11 +02:00
commit cd5570670c
Notes: sideshowbarker 2024-07-19 02:43:17 +09:00
7 changed files with 220 additions and 40 deletions

View file

@ -93,6 +93,7 @@ public:
virtual bool is_table_row_group() const { return false; }
virtual bool is_break() const { return false; }
virtual bool is_check_box() const { return false; }
virtual bool is_button() const { return false; }
bool has_style() const { return m_has_style; }
bool is_inline() const { return m_inline; }