1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-21 12:21:07 +00:00
serenity/Userland/Libraries/LibWeb/Layout
martinfalisse 20313ae8a8 LibWeb: Use TextTop and TextBottom property for VerticalAlign
If text-top or text-bottom are given as values for the vertical-align
property, actually use them and calculate the respective position of
the element.

The actual calculations done (using the font_size, descent, etc.) are
not exactly how I imagined them when reading the spec, but the results
seem acceptable when compared to other browsers.
2023-01-01 18:38:01 +01:00
..
AvailableSpace.cpp Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
AvailableSpace.h Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
BlockContainer.cpp Meta+Userland: Pass Gfx::FloatPoint by value 2022-12-07 11:48:27 +01:00
BlockContainer.h Meta+Userland: Pass Gfx::FloatPoint by value 2022-12-07 11:48:27 +01:00
BlockFormattingContext.cpp LibWeb: Margin bottom collapsing between parent and last child 2022-12-30 14:21:19 +01:00
BlockFormattingContext.h LibWeb: Margin bottom collapsing between parent and last child 2022-12-30 14:21:19 +01:00
Box.cpp LibWeb: Convert Paintable coordinates to new pixel units 2022-12-14 16:47:57 +00:00
Box.h
BoxModelMetrics.cpp
BoxModelMetrics.h
BreakNode.cpp
BreakNode.h
ButtonBox.cpp
ButtonBox.h
CanvasBox.cpp
CanvasBox.h
CheckBox.cpp
CheckBox.h
FlexFormattingContext.cpp LibWeb: Refactor should_skip_anonymous_text_runs 2022-12-28 15:04:58 +01:00
FlexFormattingContext.h
FormAssociatedLabelableNode.h
FormattingContext.cpp LibWeb: Margin bottom collapsing between parent and last child 2022-12-30 14:21:19 +01:00
FormattingContext.h LibWeb: Margin bottom collapsing between parent and last child 2022-12-30 14:21:19 +01:00
FrameBox.cpp LibWeb: Convert Paintable coordinates to new pixel units 2022-12-14 16:47:57 +00:00
FrameBox.h
GridFormattingContext.cpp LibWeb: Don't expand grid for {row,column} spans 2022-12-28 15:04:58 +01:00
GridFormattingContext.h LibWeb: Refactor GridFormattingContext 2022-12-28 15:04:58 +01:00
ImageBox.cpp LibWeb: Convert Paintable coordinates to new pixel units 2022-12-14 16:47:57 +00:00
ImageBox.h
InitialContainingBlock.cpp LibWeb: Convert Paintable coordinates to new pixel units 2022-12-14 16:47:57 +00:00
InitialContainingBlock.h
InlineFormattingContext.cpp LibWeb: Introduce structure that maintains collapsible margins in BFC 2022-12-30 14:21:19 +01:00
InlineFormattingContext.h
InlineLevelIterator.cpp LibWeb: Don't collapse TextNode if it's editable 2022-11-26 01:21:02 +01:00
InlineLevelIterator.h
InlineNode.cpp
InlineNode.h
Label.cpp LibWeb: Convert Paintable coordinates to new pixel units 2022-12-14 16:47:57 +00:00
Label.h LibWeb+WebContent+headless-browser: Use CSSPixels for PageClient events 2022-12-10 12:03:19 +00:00
LabelableNode.cpp
LabelableNode.h
LayoutPosition.cpp
LayoutPosition.h
LayoutState.cpp LibWeb: Use TextTop and TextBottom property for VerticalAlign 2023-01-01 18:38:01 +01:00
LayoutState.h LibWeb: Move box_baseline from LineBuilder.cpp to LayoutState.cpp 2022-12-05 17:47:48 +01:00
LineBox.cpp LibWeb: Convert Paintable coordinates to new pixel units 2022-12-14 16:47:57 +00:00
LineBox.h
LineBoxFragment.cpp LibWeb: Convert Paintable coordinates to new pixel units 2022-12-14 16:47:57 +00:00
LineBoxFragment.h LibWeb: Convert Paintable coordinates to new pixel units 2022-12-14 16:47:57 +00:00
LineBuilder.cpp LibWeb: Convert Paintable coordinates to new pixel units 2022-12-14 16:47:57 +00:00
LineBuilder.h
ListItemBox.cpp
ListItemBox.h
ListItemMarkerBox.cpp AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
ListItemMarkerBox.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
Node.cpp LibWeb: Treat border-style: hidden the same as border-style: none 2022-12-31 23:22:02 +01:00
Node.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
Progress.cpp
Progress.h
RadioButton.cpp
RadioButton.h
ReplacedBox.cpp
ReplacedBox.h
SVGBox.cpp
SVGBox.h
SVGFormattingContext.cpp
SVGFormattingContext.h
SVGGeometryBox.cpp LibWeb: Convert Paintable coordinates to new pixel units 2022-12-14 16:47:57 +00:00
SVGGeometryBox.h
SVGGraphicsBox.cpp
SVGGraphicsBox.h
SVGSVGBox.cpp
SVGSVGBox.h
TableBox.cpp
TableBox.h
TableCellBox.cpp LibWeb: Take rowspan into account while table formatting 2022-12-05 17:47:48 +01:00
TableCellBox.h LibWeb: Take rowspan into account while table formatting 2022-12-05 17:47:48 +01:00
TableFormattingContext.cpp LibWeb: Fix table-row y-position 2022-12-31 14:48:37 +01:00
TableFormattingContext.h LibWeb: Fix typo in TableFormattingContext.h 2022-12-09 12:53:05 +01:00
TableRowBox.cpp
TableRowBox.h
TableRowGroupBox.cpp LibWeb: Start implementation of CSS Table 3 spec 2022-12-05 17:47:48 +01:00
TableRowGroupBox.h LibWeb: Start implementation of CSS Table 3 spec 2022-12-05 17:47:48 +01:00
TextNode.cpp LibWeb: Apply CSS text-transform during layout 2022-12-24 12:27:46 +01:00
TextNode.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
TreeBuilder.cpp LibJS: Convert Heap::allocate{,_without_realm}() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
TreeBuilder.h LibWeb: Use HashMap::try_ensure_capacity in StyleComputer 2022-12-10 14:29:46 +01:00