diff options
author | Andreas Kling <kling@serenityos.org> | 2022-07-08 12:44:49 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-07-11 18:57:44 +0200 |
commit | 4f6fc3d3a63ba14a8dc95d470a55a4dd137be9bf (patch) | |
tree | 863702847439661fef2c26192b5bf027ab400b35 /Documentation/SmartPointers.md | |
parent | 496cf39cf5c84544486d54eec9e76930c7debe7d (diff) | |
download | serenity-4f6fc3d3a63ba14a8dc95d470a55a4dd137be9bf.zip |
LibWeb: Only perform the requested form of intrinsic size calculation
Before, querying any of the four intrinsic sizes would cause us to
calculate all of them (the four being min-content width/height, and
max-content width/height).
Now, the helper functions only calculate the specific intrinsic size
requested. It's then cached at the root formatting context level,
so that it's never calculated twice within the same layout pass.
Diffstat (limited to 'Documentation/SmartPointers.md')
0 files changed, 0 insertions, 0 deletions