mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 09:45:06 +02:00
When a parent element's display property changes (e.g., to flex or grid), children may need to be blockified or un-blockified. Previously, children only received a recompute_inherited_style() call which doesn't run the blockification logic. This patch adds a parent_display_changed flag to the recursive style update that forces children to get a full style recompute when their parent's display change triggers a layout tree rebuild.
6 lines
132 B
Plaintext
6 lines
132 B
Plaintext
Harness status: OK
|
|
|
|
Found 1 tests
|
|
|
|
1 Pass
|
|
Pass Dynamic changes to `display` causing blockification of children are handled correctly |