1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 03:17:35 +00:00
serenity/Libraries/LibWeb/Layout
Andreas Kling 7fc988b919 LibWeb: Start working on supporting fixed table layouts
Sometimes people make tables with a specific width. In those cases,
we can't just use the auto-sizing algorithm, but instead have to
respect whatever width the content specifies.

This is a bit rickety right now, since we don't implement generation
of anonymous table boxes.

The basic mechanism here is that block layout (which table-cell uses)
now has a virtual way of asking for the width of the logical containing
block. This is necessary as table-row does not produce a block-level
element and so was previously unable to provide a containing block
width for table-cell layout.

If the table has a non-auto specified width, we now interpret that as
a request to use fixed table layout. This will evolve over time. :^)
2020-06-28 15:13:56 +02:00
..
BoxModelMetrics.cpp LibWeb: Turn BoxModelMetrics into a simple struct 2020-06-24 11:22:34 +02:00
BoxModelMetrics.h LibWeb: Turn BoxModelMetrics into a simple struct 2020-06-24 11:22:34 +02:00
LayoutBlock.cpp LibWeb: Start working on supporting fixed table layouts 2020-06-28 15:13:56 +02:00
LayoutBlock.h LibWeb: Start working on supporting fixed table layouts 2020-06-28 15:13:56 +02:00
LayoutBox.cpp LibWeb: Draw the margin and padding boxes around the inspected node 2020-06-25 15:53:23 +02:00
LayoutBox.h LibWeb: Move border width and color into LayoutStyle 2020-06-24 19:43:27 +02:00
LayoutBreak.cpp LibWeb: Move border width and color into LayoutStyle 2020-06-24 19:43:27 +02:00
LayoutBreak.h LibWeb: Move border width and color into LayoutStyle 2020-06-24 19:43:27 +02:00
LayoutCanvas.cpp LibWeb: Move border width and color into LayoutStyle 2020-06-24 19:43:27 +02:00
LayoutCanvas.h LibWeb: Move border width and color into LayoutStyle 2020-06-24 19:43:27 +02:00
LayoutDocument.cpp LibWeb: Move border width and color into LayoutStyle 2020-06-24 19:43:27 +02:00
LayoutDocument.h LibWeb: Move border width and color into LayoutStyle 2020-06-24 19:43:27 +02:00
LayoutFrame.cpp LibWeb: Move border width and color into LayoutStyle 2020-06-24 19:43:27 +02:00
LayoutFrame.h LibWeb: Move border width and color into LayoutStyle 2020-06-24 19:43:27 +02:00
LayoutImage.cpp LibWeb: Move border width and color into LayoutStyle 2020-06-24 19:43:27 +02:00
LayoutImage.h LibWeb: Move border width and color into LayoutStyle 2020-06-24 19:43:27 +02:00
LayoutInline.cpp LibWeb: Move border width and color into LayoutStyle 2020-06-24 19:43:27 +02:00
LayoutInline.h LibWeb: Move border width and color into LayoutStyle 2020-06-24 19:43:27 +02:00
LayoutListItem.cpp LibWeb: Move border width and color into LayoutStyle 2020-06-24 19:43:27 +02:00
LayoutListItem.h LibWeb: Move border width and color into LayoutStyle 2020-06-24 19:43:27 +02:00
LayoutListItemMarker.cpp LibWeb: Move border width and color into LayoutStyle 2020-06-24 19:43:27 +02:00
LayoutListItemMarker.h LibWeb: Move border width and color into LayoutStyle 2020-06-24 19:43:27 +02:00
LayoutNode.cpp LibWeb: Add the 'float' CSS property to LayoutStyle 2020-06-26 18:27:12 +02:00
LayoutNode.h LibWeb: Add the 'float' CSS property to LayoutStyle 2020-06-26 18:27:12 +02:00
LayoutPosition.h LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
LayoutReplaced.cpp LibWeb: Move border width and color into LayoutStyle 2020-06-24 19:43:27 +02:00
LayoutReplaced.h LibWeb: Move border width and color into LayoutStyle 2020-06-24 19:43:27 +02:00
LayoutStyle.h LibWeb: Add the 'float' CSS property to LayoutStyle 2020-06-26 18:27:12 +02:00
LayoutTable.cpp LibWeb: Move border width and color into LayoutStyle 2020-06-24 19:43:27 +02:00
LayoutTable.h LibWeb: Move border width and color into LayoutStyle 2020-06-24 19:43:27 +02:00
LayoutTableCell.cpp LibWeb: Start working on supporting fixed table layouts 2020-06-28 15:13:56 +02:00
LayoutTableCell.h LibWeb: Start working on supporting fixed table layouts 2020-06-28 15:13:56 +02:00
LayoutTableRow.cpp LibWeb: Start working on supporting fixed table layouts 2020-06-28 15:13:56 +02:00
LayoutTableRow.h LibWeb: Move border width and color into LayoutStyle 2020-06-24 19:43:27 +02:00
LayoutTableRowGroup.cpp LibWeb: Move border width and color into LayoutStyle 2020-06-24 19:43:27 +02:00
LayoutTableRowGroup.h LibWeb: Move border width and color into LayoutStyle 2020-06-24 19:43:27 +02:00
LayoutText.cpp LibWeb: Use the cached white-space from LayoutStyle in text_for_style() 2020-06-24 21:44:11 +02:00
LayoutText.h LibWeb: Move border width and color into LayoutStyle 2020-06-24 19:43:27 +02:00
LayoutTreeBuilder.cpp LibWeb: Rename LayoutNode::style() => specified_style() 2020-06-24 13:54:31 +02:00
LayoutTreeBuilder.h LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
LayoutWidget.cpp LibWeb: Move border width and color into LayoutStyle 2020-06-24 19:43:27 +02:00
LayoutWidget.h LibWeb: Move border width and color into LayoutStyle 2020-06-24 19:43:27 +02:00
LineBox.cpp LibWeb: Move position and text-align to LayoutStyle 2020-06-24 16:49:51 +02:00
LineBox.h LibWeb: Teach line layout to collapse whitespace across fragments 2020-06-13 15:03:16 +02:00
LineBoxFragment.cpp LibWeb: Rename LayoutNode::style() => specified_style() 2020-06-24 13:54:31 +02:00
LineBoxFragment.h LibWeb: Rename LayoutNode::render() to paint() 2020-06-18 21:37:20 +02:00