1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-12 23:20:59 +00:00
serenity/Userland
Andreas Kling c9700e100e LibWeb: Start making our layout system "transactional"
This patch adds a map of Layout::Node to FormattingState::NodeState.
Instead of updating layout nodes incrementally as layout progresses
through the formatting contexts, all updates are now written to the
corresponding NodeState instead.

At the end of layout, FormattingState::commit() is called, which
transfers all the values from the NodeState objects to the Node.

This will soon allow us to perform completely non-destructive layouts
which don't affect the tree.

Note that there are many imperfections here, and still many places
where we assign to the NodeState, but later read directly from the Node
instead. I'm just committing at this stage to make subsequent diffs
easier to understand.
2022-02-21 18:35:12 +01:00
..
Applets Userland/Applets: Use default constructors/destructors 2022-02-13 21:27:17 +00:00
Applications Userland: Ask first for unsaved changes after clicking an "Open" action 2022-02-21 18:30:32 +01:00
Demos Demos: Use default constructors/destructors 2022-02-15 23:00:03 +02:00
DevTools Userland: Ask first for unsaved changes after clicking an "Open" action 2022-02-21 18:30:32 +01:00
DynamicLoader DynamicLoader+LibC+LibTimeZone: Include LibTimeZone sources in LibC 2022-01-23 12:48:26 +00:00
Games Games: Use default constructors/destructors 2022-02-16 22:08:55 +00:00
Libraries LibWeb: Start making our layout system "transactional" 2022-02-21 18:35:12 +01:00
Services WindowServer: Add IPC call to remove a menu's item 2022-02-21 16:31:56 +01:00
Shell Shell: Use an opaque default color for BarewordLiteral 2022-02-19 11:33:28 +01:00
Utilities ls: Add option -1 which lists one file per line 2022-02-19 18:18:13 -08:00
CMakeLists.txt Tests: Establish root Tests directory, move Userland/Tests there 2021-05-06 17:54:28 +02:00