mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 02:07:34 +00:00
LibWeb: Allow block children of inlines
Hey, why not. We did all the hard work for display:inline-block already and now we can just allow this. This makes <a><h1>Hello friends!</h1></a> work :^)
This commit is contained in:
parent
96da15a8a4
commit
308c3ccc44
2 changed files with 1 additions and 7 deletions
|
@ -587,8 +587,6 @@ LineBox& LayoutBlock::add_line_box()
|
|||
|
||||
void LayoutBlock::split_into_lines(LayoutBlock& container, LayoutMode layout_mode)
|
||||
{
|
||||
ASSERT(is_inline());
|
||||
|
||||
layout(layout_mode);
|
||||
|
||||
auto* line_box = &container.ensure_last_line_box();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue