1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 09:28:11 +00:00
serenity/Libraries/LibHTML
Andreas Kling 96f34d26c9 LibHTML: Batch style updates and make them start from the root
Use a zero-timer to schedule a style update after invalidating style
on any node. Nodes now have a needs_style_update flag which helps us
batch and coalesce the work.

We also start style updates at the root and work our way through the
document, updating any node that has the needs_style_update flag set.
This is slower than what we were doing before, but far more correct.

There is a ton of room for improvement here. :^)
2019-10-19 19:00:31 +02:00
..
CSS LibHTML: Implement basic tiled background image support 2019-10-19 11:49:46 +02:00
DOM LibHTML: Batch style updates and make them start from the root 2019-10-19 19:00:31 +02:00
Layout LibHTML: Use the correct inherited color for LayoutListItemMarker 2019-10-19 11:54:28 +02:00
Parser LibHTML: Skip over CSS @media rules for now 2019-10-19 17:39:38 +02:00
Scripts Libraries: Create top level directory for libraries. 2019-07-04 16:16:50 +02:00
Dump.cpp LibHTML: Introduce LayoutBox and LayoutNodeWithStyleAndBoxModelMetrics 2019-10-15 16:48:38 +02:00
Dump.h LibHTML: Hide debugging output unless HTML_DEBUG is defined 2019-09-28 18:29:42 +02:00
FontCache.cpp LibHTML: Add a simple font cache 2019-10-18 23:06:03 +02:00
FontCache.h LibHTML: Add a simple font cache 2019-10-18 23:06:03 +02:00
Frame.cpp LibHTML: Implement the <blink> element 2019-10-09 21:25:29 +02:00
Frame.h LibHTML: Make TreeNode inherit from Weakable by default 2019-10-19 09:42:20 +02:00
HtmlView.cpp LibHTML: Implement basic tiled background image support 2019-10-19 11:49:46 +02:00
HtmlView.h LibHTML: Add basic keyboard navigation (up/down/pgdn/pgup/home/end/etc) 2019-10-17 23:39:31 +02:00
install.sh LibHTML: Add install.sh 2019-09-28 18:29:42 +02:00
Makefile Userland+LibHTML: Add the html command 2019-09-28 18:29:42 +02:00
Makefile.host AK: Remove empty files JsonArray.cpp and JsonObject.cpp 2019-10-01 11:24:54 +02:00
Makefile.shared LibHTML: Add a simple font cache 2019-10-18 23:06:03 +02:00
RenderingContext.h LibHTML: Add the currently visible viewport rect to RenderingContext 2019-10-15 21:52:01 +02:00
ResourceLoader.cpp LibHTML+Browser: Show the number of pending resource loads 2019-10-10 22:07:08 +02:00
ResourceLoader.h LibHTML+Browser: Show the number of pending resource loads 2019-10-10 22:07:08 +02:00
TreeNode.h LibHTML: Add TreeNode<T>::for_each_in_subtree(callback) 2019-10-19 18:14:54 +02:00