1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 05:28:11 +00:00
serenity/Userland/Libraries/LibWeb/Layout
Andreas Kling 968ad0f8d1 LibWeb: Some improvements to CSS height:auto computation for blocks
Auto block heights are now computed according to something that kinda
resembles the specification.

Blocks with inline children and height:auto have their height computed
based on the top of the first line box and the bottom of the last line
box. Very straightforward.

Blocks with block children and height:auto have their height computed
based on the top of the first in-flow block child's margin box, and the
bottom of the last in-flow block child's margin box.
2021-03-08 22:53:28 +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: Some improvements to CSS height:auto computation for blocks 2021-03-08 22:53:28 +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