serenity/Userland/DevTools
Andreas Kling 0264ae23bc LibWeb: Make CSS layout lazier
Instead of doing layout synchronously whenever something changes,
we now use a basic event loop timer to defer and coalesce relayouts.

If you did something that requires a relayout of the page, make sure
to call Document::set_needs_layout() and it will get coalesced with all
the other layout updates.

There's lots of room for improvement here, but this already makes many
web pages significantly snappier. :^)

Also, note that this exposes a number of layout bugs where we have been
relying on multiple relayouts to calculate the correct dimensions for
things. Now that we only do a single layout in many cases, these kind of
problems are much more noticeable. That should also make them easier to
figure out and fix. :^)
2021-10-06 17:14:22 +02:00
..
HackStudio LibWeb: Make CSS layout lazier 2021-10-06 17:14:22 +02:00
Inspector Everywhere: Replace Model::update() with Model::invalidate() 2021-08-06 19:14:31 +02:00
Playground Playground: Ask to save file contents on quit action 2021-09-12 16:30:25 +02:00
Profiler Profiler: Make the ProfileModel searchable 2021-09-14 21:33:15 +04:30
UserspaceEmulator Userland: Fix typos 2021-10-01 01:18:52 +01:00
CMakeLists.txt HackStudio: Enable building HackStudio on x86_64 2021-08-02 00:57:06 +02:00