1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 05:08:13 +00:00
serenity/Libraries/LibHTML/Layout
Andreas Kling 54bd322881 LibHTML: Mark image bitmaps outside the visible viewport as volatile
When the visible viewport rect changes, we walk the layout tree and
check where each LayoutImage is in relation to the viewport rect.
Images outside have their bitmaps marked as volatile.

Note that the bitmaps are managed by ImageDecoder objects. If a bitmap
is purged by the kernel while volatile, we construct a new ImageDecoder
next time we need pixels for the image.
2019-12-18 21:19:04 +01:00
..
BoxModelMetrics.cpp LibHTML: Rename ComputedStyle to BoxModelMetrics 2019-10-04 15:50:50 +02:00
BoxModelMetrics.h LibHTML: Use floating point numbers throughout the layout tree 2019-11-18 16:30:18 +01:00
LayoutBlock.cpp LibHTML: Divide the "line spacing" evenly between lines of text 2019-11-25 18:14:52 +01:00
LayoutBlock.h LibHTML+Browser: Support scrolling to anchor with <a href="#foo"> 2019-10-20 10:07:26 +02:00
LayoutBox.cpp LibHTML: Respect "border-style: dotted" 2019-11-27 20:53:28 +01:00
LayoutBox.h LibHTML: Join border edges nicely when painting boxes 2019-11-25 14:37:04 +01:00
LayoutBreak.cpp LibHTML: Introduce LayoutBox and LayoutNodeWithStyleAndBoxModelMetrics 2019-10-15 16:48:38 +02:00
LayoutBreak.h LibHTML: Introduce LayoutBox and LayoutNodeWithStyleAndBoxModelMetrics 2019-10-15 16:48:38 +02:00
LayoutDocument.cpp LibHTML: Mark image bitmaps outside the visible viewport as volatile 2019-12-18 21:19:04 +01:00
LayoutDocument.h LibHTML: Mark image bitmaps outside the visible viewport as volatile 2019-12-18 21:19:04 +01:00
LayoutImage.cpp LibHTML: LayoutImage should not dereference a null bitmap 2019-11-18 20:26:32 +01:00
LayoutImage.h LibHTML: Add LayoutNode::is_image() and is<LayoutImage> helper 2019-12-18 20:52:36 +01:00
LayoutInline.cpp LibHTML: Introduce LayoutBox and LayoutNodeWithStyleAndBoxModelMetrics 2019-10-15 16:48:38 +02:00
LayoutInline.h LibHTML: Introduce LayoutBox and LayoutNodeWithStyleAndBoxModelMetrics 2019-10-15 16:48:38 +02:00
LayoutListItem.cpp LibHTML: Use floating point numbers throughout the layout tree 2019-11-18 16:30:18 +01:00
LayoutListItem.h LibHTML: Add LayoutNode classes for "display: list-item" and its marker 2019-10-11 23:16:53 +02:00
LayoutListItemMarker.cpp LibHTML: Use floating point numbers throughout the layout tree 2019-11-18 16:30:18 +01:00
LayoutListItemMarker.h LibHTML: Introduce LayoutBox and LayoutNodeWithStyleAndBoxModelMetrics 2019-10-15 16:48:38 +02:00
LayoutNode.cpp LibHTML: Use floating point numbers throughout the layout tree 2019-11-18 16:30:18 +01:00
LayoutNode.h LibHTML: Add LayoutNode::is_image() and is<LayoutImage> helper 2019-12-18 20:52:36 +01:00
LayoutPosition.h LibHTML: Build some foundation for text selection 2019-11-05 22:13:26 +01:00
LayoutReplaced.cpp LibHTML: Replaced elements should not break lines at start of line 2019-10-19 09:44:40 +02:00
LayoutReplaced.h LibHTML: Introduce LayoutBox and LayoutNodeWithStyleAndBoxModelMetrics 2019-10-15 16:48:38 +02:00
LayoutTable.cpp LibHTML: Add typed child/sibling traversal helpers for LayoutNode 2019-10-18 09:38:12 +02:00
LayoutTable.h LibHTML: Add typed child/sibling traversal helpers for LayoutNode 2019-10-18 09:38:12 +02:00
LayoutTableCell.cpp LibHTML: Add stub classes for basic table layout 2019-10-17 23:39:31 +02:00
LayoutTableCell.h LibHTML: Add typed child/sibling traversal helpers for LayoutNode 2019-10-18 09:38:12 +02:00
LayoutTableRow.cpp LibHTML: Add typed child/sibling traversal helpers for LayoutNode 2019-10-18 09:38:12 +02:00
LayoutTableRow.h LibHTML: Add typed child/sibling traversal helpers for LayoutNode 2019-10-18 09:38:12 +02:00
LayoutText.cpp LibHTML: Insert a new linebox for every newline in "white-space: pre" 2019-12-18 12:44:16 +01:00
LayoutText.h LibHTML: Insert a new linebox for every newline in "white-space: pre" 2019-12-18 12:44:16 +01:00
LayoutTreeBuilder.cpp LibHTML: Hard-code LayoutTable to never have inline children 2019-10-17 23:39:31 +02:00
LayoutTreeBuilder.h LibHTML: Move layout tree building to a LayoutTreeBuilder class 2019-10-15 14:24:26 +02:00
LayoutWidget.cpp LibHTML: Implement basic <form> and <input> element support 2019-11-25 21:21:55 +01:00
LayoutWidget.h LibHTML: Implement basic <form> and <input> element support 2019-11-25 21:21:55 +01:00
LineBox.cpp LibHTML: Remove trailing whitespace in line boxes 2019-10-20 17:20:20 +02:00
LineBox.h LibHTML: Remove trailing whitespace in line boxes 2019-10-20 17:20:20 +02:00
LineBoxFragment.cpp LibHTML: Fix bug in removal of trailing whitespace from line boxes 2019-11-19 19:21:47 +01:00
LineBoxFragment.h LibHTML: Build some foundation for text selection 2019-11-05 22:13:26 +01:00