1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 14:38:11 +00:00
serenity/Libraries/LibWeb/Layout
Andreas Kling cfab53903f LibWeb: Separate layout tree rendering into phases
CSS defines a very specific paint order. This patch starts steering us
towards respecting that by introducing the PaintPhase enum with values:

- Background
- Border
- Foreground
- Overlay (internal overlays used by inspector)

Basically, to get the right visual result, we have to render the page
multiple times, going one phase at a time.
2020-06-18 18:57:35 +02:00
..
BoxModelMetrics.cpp LibWeb: Rename BoxModelMetrics::full_margin() => margin_box() 2020-06-12 13:44:11 +02:00
BoxModelMetrics.h LibWeb: Rename BoxModelMetrics::full_margin() => margin_box() 2020-06-12 13:44:11 +02:00
LayoutBlock.cpp LibWeb: Separate layout tree rendering into phases 2020-06-18 18:57:35 +02:00
LayoutBlock.h LibWeb: Separate layout tree rendering into phases 2020-06-18 18:57:35 +02:00
LayoutBox.cpp LibWeb: Separate layout tree rendering into phases 2020-06-18 18:57:35 +02:00
LayoutBox.h LibWeb: Separate layout tree rendering into phases 2020-06-18 18:57:35 +02:00
LayoutBreak.cpp LibWeb: Basic support for display:inline-block with width:auto 2020-05-26 22:02:27 +02:00
LayoutBreak.h LibWeb: Basic support for display:inline-block with width:auto 2020-05-26 22:02:27 +02:00
LayoutCanvas.cpp LibWeb: Separate layout tree rendering into phases 2020-06-18 18:57:35 +02:00
LayoutCanvas.h LibWeb: Separate layout tree rendering into phases 2020-06-18 18:57:35 +02:00
LayoutDocument.cpp LibWeb: Separate layout tree rendering into phases 2020-06-18 18:57:35 +02:00
LayoutDocument.h LibWeb: Separate layout tree rendering into phases 2020-06-18 18:57:35 +02:00
LayoutFrame.cpp LibWeb: Separate layout tree rendering into phases 2020-06-18 18:57:35 +02:00
LayoutFrame.h LibWeb: Separate layout tree rendering into phases 2020-06-18 18:57:35 +02:00
LayoutImage.cpp LibWeb: Separate layout tree rendering into phases 2020-06-18 18:57:35 +02:00
LayoutImage.h LibWeb: Separate layout tree rendering into phases 2020-06-18 18:57:35 +02:00
LayoutInline.cpp LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
LayoutInline.h LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
LayoutListItem.cpp LibWeb: Rework the layout engine to use relative offsets 2020-06-10 10:46:57 +02:00
LayoutListItem.h LibWeb: Basic support for display:inline-block with width:auto 2020-05-26 22:02:27 +02:00
LayoutListItemMarker.cpp LibWeb: Separate layout tree rendering into phases 2020-06-18 18:57:35 +02:00
LayoutListItemMarker.h LibWeb: Separate layout tree rendering into phases 2020-06-18 18:57:35 +02:00
LayoutNode.cpp LibWeb: Separate layout tree rendering into phases 2020-06-18 18:57:35 +02:00
LayoutNode.h LibWeb: Separate layout tree rendering into phases 2020-06-18 18:57:35 +02:00
LayoutPosition.h LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
LayoutReplaced.cpp LibWeb: Reorganize layout algorithm 2020-06-14 19:01:54 +02:00
LayoutReplaced.h LibWeb: Reorganize layout algorithm 2020-06-14 19:01:54 +02:00
LayoutTable.cpp LibWeb: Remove some unused functions from LayoutTable 2020-06-14 19:06:02 +02:00
LayoutTable.h LibWeb: Remove some unused functions from LayoutTable 2020-06-14 19:06:02 +02:00
LayoutTableCell.cpp LibWeb: Add LayoutTableCell::colspan() 2020-06-13 00:10:52 +02:00
LayoutTableCell.h LibWeb: Add LayoutTableCell::colspan() 2020-06-13 00:10:52 +02:00
LayoutTableRow.cpp LibWeb: Remove some unused functions in LayoutTableRow 2020-06-13 15:30:27 +02:00
LayoutTableRow.h LibWeb: Remove some unused functions in LayoutTableRow 2020-06-13 15:30:27 +02:00
LayoutTableRowGroup.cpp LibWeb: Reorganize layout algorithm 2020-06-14 19:01:54 +02:00
LayoutTableRowGroup.h LibWeb: More work on table layout 2020-06-13 00:12:23 +02:00
LayoutText.cpp LibWeb: Teach line layout to collapse whitespace across fragments 2020-06-13 15:03:16 +02:00
LayoutText.h LibWeb: Basic support for display:inline-block with width:auto 2020-05-26 22:02:27 +02:00
LayoutTreeBuilder.cpp LibWeb: Whine in debug log instead of asserting on partial layout FIXME 2020-06-06 22:15:17 +02:00
LayoutTreeBuilder.h LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
LayoutWidget.cpp LibWeb: Separate layout tree rendering into phases 2020-06-18 18:57:35 +02:00
LayoutWidget.h LibWeb: Separate layout tree rendering into phases 2020-06-18 18:57:35 +02:00
LineBox.cpp LibWeb: Teach line layout to collapse whitespace across fragments 2020-06-13 15:03:16 +02:00
LineBox.h LibWeb: Teach line layout to collapse whitespace across fragments 2020-06-13 15:03:16 +02:00
LineBoxFragment.cpp LibWeb: Teach line layout to collapse whitespace across fragments 2020-06-13 15:03:16 +02:00
LineBoxFragment.h LibWeb: Teach line layout to collapse whitespace across fragments 2020-06-13 15:03:16 +02:00
StackingContext.cpp LibWeb: Separate layout tree rendering into phases 2020-06-18 18:57:35 +02:00
StackingContext.h LibWeb: Separate layout tree rendering into phases 2020-06-18 18:57:35 +02:00