1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 07:27:45 +00:00

LibWeb: Remove the flex item size cache

This was overly permissive as the FIXME stated and was causing layout
issues.
This commit is contained in:
sin-ack 2022-09-18 16:37:51 +00:00 committed by Andreas Kling
parent 97b5230413
commit e9d5d2f74b
2 changed files with 1 additions and 12 deletions

View file

@ -148,8 +148,6 @@ struct LayoutState {
HashMap<NodeWithStyleAndBoxModelMetrics const*, NonnullOwnPtr<IntrinsicSizes>> mutable intrinsic_sizes;
HashMap<Box const*, float> mutable flex_item_size_cache;
LayoutState const* m_parent { nullptr };
LayoutState const& m_root;
};