ladybird/Libraries/LibHTML
Andreas Kling 735f02900b LibHTML: Implement basic partial style invalidation
This patch makes it possible to call Node::invalidate_style() and have
that node and all of its ancestors recompute their style.

We then figure out if the new style is visually different from the old
style, and if so do a paint invalidation with set_needs_display().
Note that the "are they visually different" code is very incomplete!

Use this to make hover effects a lot more efficient. They no longer
cause a full relayout+repaint, but only a style invalidation.
Style invalidations are still quite heavy though, and there's a lot of
room for improvement there. :^)
2019-10-14 18:33:23 +02:00
..
CSS LibHTML: Implement basic partial style invalidation 2019-10-14 18:33:23 +02:00
DOM LibHTML: Implement basic partial style invalidation 2019-10-14 18:33:23 +02:00
Layout LibHTML: Implement basic partial style invalidation 2019-10-14 18:33:23 +02:00
Parser LibHTML: Parse the :link and :hover CSS pseudo-classes 2019-10-14 17:31:52 +02:00
Scripts Libraries: Create top level directory for libraries. 2019-07-04 16:16:50 +02:00
Dump.cpp LibHTML: Add some convenient geometry getters on LayoutNode 2019-10-13 18:47:16 +02:00
Dump.h LibHTML: Hide debugging output unless HTML_DEBUG is defined 2019-09-28 18:29:42 +02:00
Frame.cpp LibHTML: Implement the <blink> element 2019-10-09 21:25:29 +02:00
Frame.h LibHTML: Implement the <blink> element 2019-10-09 21:25:29 +02:00
HtmlView.cpp LibHTML: Rename Document's invalidate_{style,layout}() to update_foo() 2019-10-14 17:57:06 +02:00
HtmlView.h LibHTML: Move layout root from HtmlView to Document 2019-10-13 12:43: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 Comment and CharacterData nodes and improve HTML parsing 2019-10-12 23:34:05 +02:00
RenderingContext.h LibHTML+Browser: Add debug option to draw borders around line boxes 2019-10-12 15:02:53 +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 Comment and CharacterData nodes and improve HTML parsing 2019-10-12 23:34:05 +02:00