summaryrefslogtreecommitdiff
path: root/Ports/brogue
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-09-15 14:18:17 +0200
committerAndreas Kling <kling@serenityos.org>2021-09-15 14:18:17 +0200
commiteac31e21f2bf3c1a4cd5bb4e5d0c19a75fd0b395 (patch)
treed507d7da41796409ec30d40274b5d558fb52e0c2 /Ports/brogue
parent1103eb8d4437abfd954820fd35e0d1dc172ed0de (diff)
downloadserenity-eac31e21f2bf3c1a4cd5bb4e5d0c19a75fd0b395.zip
LibWeb: Avoid some redundant calls to Layout::Box::absolute_rect()
Computing the absolute rect of a box requires walking the chain of containing blocks and apply any offsets encountered. This can be slow in deeply nested box trees, so let's at least avoid doing it multiple times when once is enough.
Diffstat (limited to 'Ports/brogue')
0 files changed, 0 insertions, 0 deletions