mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-22 16:09:23 +00:00
When restructuring a block node inside an inline parent, if the nearest block ancestor is `display: inline-block`, ensure that the generated anonymous wrappers also have `display: inline-block`. This fixes layout issues with block elements nested inside inline-block elements.
7 lines
138 B
HTML
7 lines
138 B
HTML
<!DOCTYPE html>
|
|
foo
|
|
<div style="display: inline-block;">
|
|
<span>
|
|
<div style="display: block;">bar</div>
|
|
</span>
|
|
</div> baz
|