1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 10:18:11 +00:00
serenity/Libraries/LibWeb
Andreas Kling 656b01eb0f LibWeb: Rework the layout engine to use relative offsets
The box tree and line boxes now all store a relative offset from their
containing block, instead of an absolute (document-relative) position.

This removes a huge pain point from the layout system which was having
to adjust offsets recursively when something moved. It also makes some
layout logic significantly simpler.

Every box can still find its absolute position by walking its chain
of containing blocks and accumulating the translation from the root.
This is currently what we do both for rendering and hit testing.
2020-06-10 10:46:57 +02:00
..
Bindings LibJS: Interpreter::this_value() => this_value(GlobalObject&) 2020-06-08 21:12:20 +02:00
CodeGenerators Build: Switch to CMake :^) 2020-05-14 20:15:18 +02:00
CSS LibWeb: Add Page abstraction between PageView and main Frame 2020-06-08 21:12:20 +02:00
DOM LibWeb: Add LayoutTableRowGroup to implement display: table-row-group 2020-06-09 21:53:16 +02:00
Frame LibWeb: Unbreak favicon notifications after Page refactoring 2020-06-08 21:35:31 +02:00
Layout LibWeb: Rework the layout engine to use relative offsets 2020-06-10 10:46:57 +02:00
Loader LibWeb: Unbreak favicon notifications after Page refactoring 2020-06-08 21:35:31 +02:00
Parser LibWeb: Fix parser interpreting """ as "&quot" 2020-06-10 10:34:28 +02:00
Scripts LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
CMakeLists.txt LibWeb: Add LayoutTableRowGroup to implement display: table-row-group 2020-06-09 21:53:16 +02:00
DOMTreeModel.cpp LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
DOMTreeModel.h LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
Dump.cpp LibWeb: Rework the layout engine to use relative offsets 2020-06-10 10:46:57 +02:00
Dump.h LibWeb: Add naive support for document.querySelectorAll() 2020-03-30 11:35:39 +02:00
FontCache.cpp LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
FontCache.h LibWeb: Use FlyString in FontCache keys 2020-05-26 23:45:48 +02:00
Forward.h LibWeb: Rework the layout engine to use relative offsets 2020-06-10 10:46:57 +02:00
Origin.h LibWeb: Add Origin concept (protocol, host, port tuple) 2020-04-07 23:01:45 +02:00
Page.cpp LibWeb: Remove unnecessary on_foo hooks from Frame 2020-06-08 21:31:53 +02:00
Page.h LibWeb: Unbreak favicon notifications after Page refactoring 2020-06-08 21:35:31 +02:00
PageView.cpp LibWeb: Rework the layout engine to use relative offsets 2020-06-10 10:46:57 +02:00
PageView.h LibWeb: Unbreak favicon notifications after Page refactoring 2020-06-08 21:35:31 +02:00
RenderingContext.h LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
StylePropertiesModel.cpp LibWeb: replace some tab characters with spaces 2020-05-28 17:01:31 +02:00
StylePropertiesModel.h LibWeb: replace some tab characters with spaces 2020-05-28 17:01:31 +02:00
TreeNode.h LibWeb: Add a way to opt out of TreeNode::append_child() notifications 2020-05-24 23:54:22 +02:00
URLEncoder.cpp LibWeb: Make the URL encoding function a little less copy-happy 2020-05-05 15:50:28 +02:00
URLEncoder.h LibWeb: Make the URL encoding function a little less copy-happy 2020-05-05 15:50:28 +02:00