diff options
author | Andreas Kling <kling@serenityos.org> | 2022-03-04 23:36:36 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-03-04 23:40:21 +0100 |
commit | 7d052250f24b6419e1c3297f2b6a10c71fc2b6e9 (patch) | |
tree | 6656820964c8a291745235284b3439aa8e11e874 /Base/res/js | |
parent | a6a8ba80fc9c6bb9660407e3a501217602bcc1e3 (diff) | |
download | serenity-7d052250f24b6419e1c3297f2b6a10c71fc2b6e9.zip |
LibWeb: Don't create unwanted layout nodes when recomputing style
When recomputing the style for an element that previously didn't have
a corresponding layout node, it may become necessary to create a layout
node for it.
However, we should not do this if it's within a subtree that can't have
layout children. Nor should we do it for elements who have an ancestor
with display:none.
Diffstat (limited to 'Base/res/js')
0 files changed, 0 insertions, 0 deletions