summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/HTML/HTMLStyleElement.h
diff options
context:
space:
mode:
authorSam Atkins <atkinssj@serenityos.org>2021-09-15 10:12:08 +0100
committerAndreas Kling <kling@serenityos.org>2021-09-15 11:24:11 +0200
commit3f31f109b56730f71d6d61914429038501a8ed23 (patch)
tree3cc88370cc670a5252b4b7b775d4ca72a15758f1 /Userland/Libraries/LibWeb/HTML/HTMLStyleElement.h
parent344397557c7c26a275d4b83304d15a381d4f9d8e (diff)
downloadserenity-3f31f109b56730f71d6d61914429038501a8ed23.zip
LibWeb: Speed up computed style calculation
Rather than destroying and rebuilding the entire document layout tree in every call to `ComputedCSSStyleDeclaration::property()`, we now just make sure that the layout tree exists. This speeds up the DOM Inspector significantly, from taking several seconds to select an element, to almost instant. :^)
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/HTMLStyleElement.h')
0 files changed, 0 insertions, 0 deletions