mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-28 02:27:19 +02:00
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:
committed by
Andreas Kling
parent
572ebe00ea
commit
8feaecd5c8
Notes:
sideshowbarker
2024-07-17 05:02:42 +09:00
Author: https://github.com/kalenikaliaksandr Commit: https://github.com/LadybirdBrowser/ladybird/commit/8feaecd5c8 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/155
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user