1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 14:48:14 +00:00
serenity/Libraries/LibWeb/Layout
Andreas Kling 305e2ef69c LibWeb: Until an image has loaded or failed, don't occupy layout size
This patch makes images have an implicit zero intrinsic size before
they have either loaded or failed to load. This is tracked by the
ImageLoader object.

This fixes a long-standing issue with images occupying empty 150x150
rectangles of space.
2020-08-12 13:49:43 +02:00
..
BoxModelMetrics.cpp LibWeb: Turn BoxModelMetrics into a simple struct 2020-06-24 11:22:34 +02:00
BoxModelMetrics.h LibWeb: Move CSS classes into the Web::CSS namespace 2020-07-26 20:05:15 +02:00
LayoutBlock.cpp LibWeb: Always add line boxes through LayoutBlock::add_line_box() 2020-08-09 15:21:09 +02:00
LayoutBlock.h LibWeb: Specialize hit testing for text cursor purposes 2020-08-05 16:57:51 +02:00
LayoutBox.cpp LibWeb: Specialize hit testing for text cursor purposes 2020-08-05 16:57:51 +02:00
LayoutBox.h LibWeb: Specialize hit testing for text cursor purposes 2020-08-05 16:57:51 +02:00
LayoutBreak.cpp LibWeb: Make layout tree have non-const pointers to the DOM 2020-07-28 19:48:57 +02:00
LayoutBreak.h LibWeb: Make layout tree have non-const pointers to the DOM 2020-07-28 19:48:57 +02:00
LayoutCanvas.cpp LibWeb: Make layout tree have non-const pointers to the DOM 2020-07-28 19:48:57 +02:00
LayoutCanvas.h LibWeb: Make layout tree have non-const pointers to the DOM 2020-07-28 19:48:57 +02:00
LayoutDocument.cpp LibWeb: Specialize hit testing for text cursor purposes 2020-08-05 16:57:51 +02:00
LayoutDocument.h LibWeb: Specialize hit testing for text cursor purposes 2020-08-05 16:57:51 +02:00
LayoutFrame.cpp LibWeb: Make layout tree have non-const pointers to the DOM 2020-07-28 19:48:57 +02:00
LayoutFrame.h LibWeb: Make layout tree have non-const pointers to the DOM 2020-07-28 19:48:57 +02:00
LayoutImage.cpp LibWeb: Until an image has loaded or failed, don't occupy layout size 2020-08-12 13:49:43 +02:00
LayoutImage.h LibWeb: Make layout tree have non-const pointers to the DOM 2020-07-28 19:48:57 +02:00
LayoutInline.cpp LibWeb: Make layout tree have non-const pointers to the DOM 2020-07-28 19:48:57 +02:00
LayoutInline.h LibWeb: Make layout tree have non-const pointers to the DOM 2020-07-28 19:48:57 +02:00
LayoutListItem.cpp LibWeb: Make layout tree have non-const pointers to the DOM 2020-07-28 19:48:57 +02:00
LayoutListItem.h LibWeb: Make layout tree have non-const pointers to the DOM 2020-07-28 19:48:57 +02:00
LayoutListItemMarker.cpp LibWeb: Move CSS classes into the Web::CSS namespace 2020-07-26 20:05:15 +02:00
LayoutListItemMarker.h LibWeb: Move DOM classes into the Web::DOM namespace 2020-07-26 20:05:15 +02:00
LayoutNode.cpp LibWeb: Specialize hit testing for text cursor purposes 2020-08-05 16:57:51 +02:00
LayoutNode.h LibWeb: Move tree iteration helpers from Node/LayoutNode to TreeNode 2020-08-10 15:21:23 +02:00
LayoutPosition.cpp LibWeb: Add LayoutRange::normalized() 2020-06-29 00:39:51 +02:00
LayoutPosition.h LibWeb: Remove unused LayoutPosition comparison operators 2020-08-07 09:17:34 +02:00
LayoutReplaced.cpp LibWeb: Make layout tree have non-const pointers to the DOM 2020-07-28 19:48:57 +02:00
LayoutReplaced.h LibWeb: Make layout tree have non-const pointers to the DOM 2020-07-28 19:48:57 +02:00
LayoutStyle.h LibWeb: Move CSS classes into the Web::CSS namespace 2020-07-26 20:05:15 +02:00
LayoutSVG.cpp LibWeb: Make layout tree have non-const pointers to the DOM 2020-07-28 19:48:57 +02:00
LayoutSVG.h LibWeb: Make layout tree have non-const pointers to the DOM 2020-07-28 19:48:57 +02:00
LayoutTable.cpp LibWeb: Make layout tree have non-const pointers to the DOM 2020-07-28 19:48:57 +02:00
LayoutTable.h LibWeb: Make layout tree have non-const pointers to the DOM 2020-07-28 19:48:57 +02:00
LayoutTableCell.cpp LibWeb: Make layout tree have non-const pointers to the DOM 2020-07-28 19:48:57 +02:00
LayoutTableCell.h LibWeb: Make layout tree have non-const pointers to the DOM 2020-07-28 19:48:57 +02:00
LayoutTableRow.cpp LibWeb: Make layout tree have non-const pointers to the DOM 2020-07-28 19:48:57 +02:00
LayoutTableRow.h LibWeb: Make layout tree have non-const pointers to the DOM 2020-07-28 19:48:57 +02:00
LayoutTableRowGroup.cpp LibWeb: Make layout tree have non-const pointers to the DOM 2020-07-28 19:48:57 +02:00
LayoutTableRowGroup.h LibWeb: Make layout tree have non-const pointers to the DOM 2020-07-28 19:48:57 +02:00
LayoutText.cpp LibWeb: Always add line boxes through LayoutBlock::add_line_box() 2020-08-09 15:21:09 +02:00
LayoutText.h LibWeb: Add a blinking text cursor :^) 2020-08-02 17:34:50 +02:00
LayoutTreeBuilder.cpp LibWeb: Move CSS classes into the Web::CSS namespace 2020-07-26 20:05:15 +02:00
LayoutTreeBuilder.h LibWeb: Move DOM classes into the Web::DOM namespace 2020-07-26 20:05:15 +02:00
LayoutWidget.cpp LibWeb: Make layout tree have non-const pointers to the DOM 2020-07-28 19:48:57 +02:00
LayoutWidget.h LibWeb: Make layout tree have non-const pointers to the DOM 2020-07-28 19:48:57 +02:00
LineBox.cpp LibWeb: Switch to using AK::is and AK::downcast 2020-07-26 17:51:00 +02:00
LineBox.h LibWeb: Teach line layout to collapse whitespace across fragments 2020-06-13 15:03:16 +02:00
LineBoxFragment.cpp LibWeb: Switch to using AK::is and AK::downcast 2020-07-26 17:51:00 +02:00
LineBoxFragment.h LibGfx: Templatize Point, Size, and Rect 2020-07-27 01:06:26 +02:00