1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:18:11 +00:00
serenity/Userland/Libraries/LibWeb/Layout
Timothy Flynn c21eafbf38 LibWeb: Compute position of relative blocks before placing them
Turns out compute_position should be invoked before placing the element
in normal flow. Otherwise, the position isn't set on the first layout.
The effect was that the block would "jump" into place on a secondary
layout.

This is a follow-up to commit:
deda7c8995
2021-03-30 22:21:46 +02: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: Compute position of relative blocks before placing them 2021-03-30 22:21:46 +02:00
BlockFormattingContext.h LibWeb: Compute position of relative block elements 2021-03-29 19:56:23 +02: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 LibWeb: Compute height of absolutely positioned blocks when possible 2021-03-26 22:58:13 +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