1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 13:28:11 +00:00
serenity/Userland/Libraries/LibWeb/Layout
Timothy Flynn 03990fcb89 LibWeb: Consider floating children when computing auto-height
The case for computing auto-height of block elements which have block-
level children was erroneously skipping some children:

1. If the block element itself is absolute or floating, all children
   were skipped due to a likely typo ("box" vs. "child_box" inside the
   for-each loop).

2. Floating children should only be skipped if the block element's
   'overflow' property computes to 'visible', per section 10.6.3 of the
   CSS height property spec. If the property computes to another value,
   section 10.6.7 only indicates that absolutely positioned children
   should be skipped.
2021-03-26 22:58:13 +01:00
..
BlockBox.cpp LibWeb: Stop scrolling above content in BlockBox 2021-03-03 21:48:51 +01:00
BlockBox.h LibWeb: Return whether handle_mousewheel was handled 2021-03-02 13:20:03 +01:00
BlockFormattingContext.cpp LibWeb: Consider floating children when computing auto-height 2021-03-26 22:58:13 +01:00
BlockFormattingContext.h LibWeb: Some improvements to CSS height:auto computation for blocks 2021-03-08 22:53:28 +01:00
Box.cpp LibWeb: Make CSS background image painting respect destination origin and transparency 2021-03-06 14:56:31 +01:00
Box.h LibWeb: Add bordered_rect() and padded_rect() helpers in Layout::Box 2021-02-22 18:52:58 +01:00
BoxModelMetrics.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
BoxModelMetrics.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
BreakNode.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
BreakNode.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
ButtonBox.cpp LibWeb: Remove low-hanging LibGUI fruit from LibWeb 2021-02-10 09:13:29 +01:00
ButtonBox.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
CanvasBox.cpp LibWeb: Remove low-hanging LibGUI fruit from LibWeb 2021-02-10 09:13:29 +01:00
CanvasBox.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
CheckBox.cpp LibWeb: Remove low-hanging LibGUI fruit from LibWeb 2021-02-10 09:13:29 +01:00
CheckBox.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
FlexFormattingContext.cpp LibWeb: Very basic support for CSS flex-direction 2021-01-18 20:20:24 +01:00
FlexFormattingContext.h LibWeb: Add a very naive Layout::FlexFormattingContext :^) 2021-01-18 20:20:13 +01:00
FormattingContext.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
FormattingContext.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
FrameBox.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
FrameBox.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
ImageBox.cpp LibWeb: Remove low-hanging LibGUI fruit from LibWeb 2021-02-10 09:13:29 +01:00
ImageBox.h LibWeb: Add Frame::ViewportClient and use it for Layout::ImageBox 2021-01-30 12:29:11 +01:00
InitialContainingBlockBox.cpp LibWeb: Make tiled backgrounds scroll with content 2021-03-07 13:49:20 +01:00
InitialContainingBlockBox.h LibWeb: Make tiled backgrounds scroll with content 2021-03-07 13:49:20 +01:00
InlineFormattingContext.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
InlineFormattingContext.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
InlineNode.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
InlineNode.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
LayoutPosition.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
LayoutPosition.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
LineBox.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
LineBox.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
LineBoxFragment.cpp LibWeb: Remove low-hanging LibGUI fruit from LibWeb 2021-02-10 09:13:29 +01:00
LineBoxFragment.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
ListItemBox.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
ListItemBox.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
ListItemMarkerBox.cpp LibWeb: Remove low-hanging LibGUI fruit from LibWeb 2021-02-10 09:13:29 +01:00
ListItemMarkerBox.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Node.cpp LibWeb: Return whether handle_mousewheel was handled 2021-03-02 13:20:03 +01:00
Node.h LibWeb: Return whether handle_mousewheel was handled 2021-03-02 13:20:03 +01:00
ReplacedBox.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
ReplacedBox.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
SVGBox.cpp LibWeb: Remove low-hanging LibGUI fruit from LibWeb 2021-02-10 09:13:29 +01:00
SVGBox.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
SVGGraphicsBox.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
SVGGraphicsBox.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
SVGPathBox.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
SVGPathBox.h Libraries: Add missing headers 2021-01-22 21:49:54 +01:00
SVGSVGBox.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
SVGSVGBox.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
TableBox.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
TableBox.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
TableCellBox.cpp LibWeb: Anonymous table cells should have colspan=1 2021-02-06 23:27:03 +01:00
TableCellBox.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
TableFormattingContext.cpp LibWeb: Remove a whole bunch of unnecessary #includes 2021-02-10 09:13:29 +01:00
TableFormattingContext.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
TableRowBox.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
TableRowBox.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
TableRowGroupBox.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
TableRowGroupBox.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
TextNode.cpp LibWeb: Remove low-hanging LibGUI fruit from LibWeb 2021-02-10 09:13:29 +01:00
TextNode.h LibWeb: Add fast_is<T>() for some DOM and layout node subclasses 2021-01-17 14:42:50 +01:00
TreeBuilder.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
TreeBuilder.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00