mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 18:17:22 +02:00
LibWeb: Remove Layout::Node::set_inline()
Now that this flag is no longer used, we can stop setting it.
This commit is contained in:
Notes:
sideshowbarker
2024-07-17 06:19:06 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/a0e6882d99
@@ -65,9 +65,7 @@ RefPtr<Layout::Node> HTMLInputElement::create_layout_node(NonnullRefPtr<CSS::Sty
|
||||
if (type_state() == TypeAttributeState::RadioButton)
|
||||
return adopt_ref(*new Layout::RadioButton(document(), *this, move(style)));
|
||||
|
||||
auto layout_node = adopt_ref(*new Layout::BlockContainer(document(), this, move(style)));
|
||||
layout_node->set_inline(true);
|
||||
return layout_node;
|
||||
return adopt_ref(*new Layout::BlockContainer(document(), this, move(style)));
|
||||
}
|
||||
|
||||
void HTMLInputElement::set_checked(bool checked, ChangeSource change_source)
|
||||
|
||||
Reference in New Issue
Block a user