summaryrefslogtreecommitdiff
path: root/Libraries/LibHTML/Frame.h
AgeCommit message (Collapse)Author
2020-02-06LibGfx: Unpublish Gfx::Rect from global namespaceAndreas Kling
2020-02-06LibGfx: Rename from LibDraw :^)Andreas Kling
2020-02-06LibDraw: Put all classes in the Gfx namespaceAndreas Kling
I started adding things to a Draw namespace, but it somehow felt really wrong seeing Draw::Rect and Draw::Bitmap, etc. So instead, let's rename the library to LibGfx. :^)
2020-01-18Meta: Add license header to source filesAndreas Kling
As suggested by Joshua, this commit adds the 2-clause BSD license as a comment block to the top of every source file. For the first pass, I've just added myself for simplicity. I encourage everyone to add themselves as copyright holders of any file they've added or modified in some significant way. If I've added myself in error somewhere, feel free to replace it with the appropriate copyright holder instead. Going forward, all new source files should include a license header.
2019-12-18LibHTML: Push the visible viewport rect from HtmlView to FrameAndreas Kling
This will allow various mechanisms and optimizations based on the currently visible viewport rect.
2019-11-25LibHTML: Give Frame a (weak) back-pointer to the HtmlViewAndreas Kling
This will be the official path from DOM/layout code to the HtmlView for now. Perhaps in the future we will have a fancier abstraction.
2019-10-19LibHTML: Make TreeNode inherit from Weakable by defaultAndreas Kling
This makes Node and LayoutNode weakable. Frame was already weakable.
2019-10-09LibHTML: Implement the <blink> elementAndreas Kling
Just in time for Serenity's 1st birthday, here is the <blink> element! This patch adds a bunch of different mechanisms to enable partial repaints of the layout tree (LayoutNode::set_needs_display())) It also adds LayoutNode::is_visible(), which can be toggled to prevent a LayoutNode from rendering anything (it still takes up space though.)
2019-10-04LibHTML: Add a Frame class and use it for document layout widthAndreas Kling
Each HtmlView now has a main_frame(), which represents the main frame of the web page. Frame inherits from TreeNode<Frame>, which will allow us to someday implement a Frame tree (to support the <frame> element.)
2019-09-28LibHTML: Introduce the HtmlView widgetSergey Bugaev
This is a GWidget that can display contents of an HTML document. It replaces the Frame class.
2019-09-28LibHTML: Get rid of the style treeSergey Bugaev
We now create a layout tree directly from the DOM tree. This way we don't actually lose text nodes ^)
2019-07-18LibDraw: Introduce (formerly known as SharedGraphics.)Andreas Kling
Instead of LibGUI and WindowServer building their own copies of the drawing and graphics code, let's it in a separate LibDraw library. This avoids building the code twice, and will encourage better separation of concerns. :^)
2019-07-08LibHTML: Move layout tree building to a separate function.Andreas Kling
2019-07-04Libraries: Create top level directory for libraries.Andreas Kling
Things were getting a little crowded in the project root, so this patch moves the Lib*/ directories into Libraries/.