LibWeb: Create BlockContainer layout node for <input type="button">

...and shadow tree with TextNode for "value" attribute is created.
This means InlineFormattingContext is used, and button's text now
respects CSS text-decoration properties and unicode-ranges.
This commit is contained in:
Aliaksandr Kalenik
2024-06-13 20:04:41 +03:00
committed by Andreas Kling
parent 572ebe00ea
commit 8feaecd5c8
Notes: sideshowbarker 2024-07-17 05:02:42 +09:00
11 changed files with 17 additions and 184 deletions

View File

@@ -243,6 +243,7 @@ private:
static TypeAttributeState parse_type_attribute(StringView);
void create_shadow_tree_if_needed();
void update_shadow_tree();
void create_button_input_shadow_tree();
void create_text_input_shadow_tree();
void create_color_input_shadow_tree();
void create_file_input_shadow_tree();