1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 14:57:34 +00:00

LibWeb: Add basic support for <input type=checkbox>

This is implemented entirely inside LibWeb, there is no GUI::CheckBox
widget instantiated, unlike other input types. All input types should
be moved to this new style of implementation.
This commit is contained in:
Andreas Kling 2020-09-11 18:17:39 +02:00
parent d6889ecf35
commit f2431adf47
7 changed files with 195 additions and 1 deletions

View file

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