1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-10-18 08:32:07 +00:00
serenity/Userland/Libraries/LibWeb/Layout
Andi Gallo 3b75b9ef1c LibWeb: Avoid division by zero when computing table measures
For malformed tables which only have cells with span greater than 1, the
content sizes for row and column aren't initialized to non-zero values.
Avoid undefined behavior in such cases, which sometimes show up on
Wikipedia.
2023-07-27 08:01:36 +02:00
..
AudioBox.cpp
AudioBox.h
AvailableSpace.cpp
AvailableSpace.h
BlockContainer.cpp
BlockContainer.h
BlockFormattingContext.cpp LibWeb: Handle float clearing specified on line break elements 2023-07-26 08:37:16 +02:00
BlockFormattingContext.h LibWeb: Handle float clearing specified on line break elements 2023-07-26 08:37:16 +02:00
Box.cpp
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: Handle auto margins with flex and justify-content 2023-07-26 08:35:23 +02:00
FlexFormattingContext.h LibWeb: Avoid leaking infinite remaining_free_space in FFC calculation 2023-07-26 05:17:56 +02:00
FormAssociatedLabelableNode.h
FormattingContext.cpp LibWeb: Derive box baseline from last child *with line boxes* 2023-07-25 13:42:32 +02:00
FormattingContext.h LibWeb: Derive box baseline from last child *with line boxes* 2023-07-25 13:42:32 +02:00
FrameBox.cpp
FrameBox.h
GridFormattingContext.cpp LibWeb: Use empty Optional to represent infinte growth limit in GFC 2023-07-26 05:17:10 +02:00
GridFormattingContext.h LibWeb: Use empty Optional to represent infinte growth limit in GFC 2023-07-26 05:17:10 +02:00
ImageBox.cpp
ImageBox.h
ImageProvider.h
InlineFormattingContext.cpp LibWeb: Handle float clearing specified on line break elements 2023-07-26 08:37:16 +02:00
InlineFormattingContext.h LibWeb: Allow IFC to size inline-flex boxes midway through flex layout 2023-06-19 18:51:00 +02:00
InlineLevelIterator.cpp LibWeb: Handle float clearing specified on line break elements 2023-07-26 08:37:16 +02:00
InlineLevelIterator.h
InlineNode.cpp
InlineNode.h
Label.cpp
Label.h
LabelableNode.cpp
LabelableNode.h
LayoutState.cpp LibWeb: Bring measuring of scrollable overflow closer to spec 2023-07-13 05:09:08 +02:00
LayoutState.h LibWeb: Complete table border conflict resolution 2023-07-25 15:21:04 +02:00
LineBox.cpp LibWeb: Fix whitespace getting trimmed incorrectly 2023-07-17 21:47:34 +02:00
LineBox.h LibWeb: Remove unused code 2023-07-17 18:54:54 +02:00
LineBoxFragment.cpp
LineBoxFragment.h LibWeb: Remove unused code 2023-07-17 18:54:54 +02:00
LineBuilder.cpp
LineBuilder.h
ListItemBox.cpp
ListItemBox.h
ListItemMarkerBox.cpp
ListItemMarkerBox.h
Node.cpp LibWeb: Add an initial implementation of SVG text-anchor 2023-07-21 11:42:30 +02:00
Node.h LibWeb: Add Node::scaled_font(float scale_factor) 2023-07-21 11:42:30 +02:00
Progress.cpp
Progress.h
RadioButton.cpp
RadioButton.h
ReplacedBox.cpp
ReplacedBox.h
SVGBox.cpp
SVGBox.h
SVGFormattingContext.cpp LibWeb: Use fixed-point saturated arithmetics for CSSPixels 2023-07-25 11:52:02 +02:00
SVGFormattingContext.h
SVGGeometryBox.cpp
SVGGeometryBox.h
SVGGraphicsBox.cpp
SVGGraphicsBox.h
SVGSVGBox.cpp
SVGSVGBox.h
SVGTextBox.cpp LibWeb: Split SVGTextContentElement into spec defined subclasses 2023-07-23 06:32:39 +02:00
SVGTextBox.h LibWeb: Split SVGTextContentElement into spec defined subclasses 2023-07-23 06:32:39 +02:00
TableFormattingContext.cpp LibWeb: Avoid division by zero when computing table measures 2023-07-27 08:01:36 +02:00
TableFormattingContext.h LibWeb: Split BorderConflictFinder::conflicting_edges method 2023-07-25 15:21:04 +02:00
TableWrapper.cpp
TableWrapper.h
TextNode.cpp LibWeb: Make Layout::TextNode::text_for_rendering() lazily computed 2023-07-03 11:50:58 +02:00
TextNode.h LibWeb: Make Layout::TextNode::text_for_rendering() lazily computed 2023-07-03 11:50:58 +02:00
TreeBuilder.cpp LibWeb: Fix style updates for table box nodes 2023-06-23 16:40:19 +02:00
TreeBuilder.h
VideoBox.cpp
VideoBox.h
Viewport.cpp
Viewport.h