mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 10:07:15 +02: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.
8 lines
138 B
HTML
8 lines
138 B
HTML
<!DOCTYPE html>
|
|
foo
|
|
<div style="display: inline-block;">
|
|
<span>
|
|
<div style="display: block;">bar</div>
|
|
</span>
|
|
</div> baz
|