haikuwebkit/Source/WebCore/display/css
Alan Bujtas 591dc1f1d8 [LFC][IFC] LineBox provides redundant geometry information
https://bugs.webkit.org/show_bug.cgi?id=228050

Reviewed by Sam Weinig.

LineBoxGeometry class provides the line's geometry. This is also in preparation for making LineBox a non-persistent type of structure.

* layout/formattingContexts/inline/InlineFormattingContext.cpp:
(WebCore::Layout::InlineFormattingContext::computeGeometryForLineContent):
* layout/formattingContexts/inline/InlineFormattingGeometry.cpp:
(WebCore::Layout::LineBoxBuilder::build):
(WebCore::Layout::LineBoxBuilder::constructAndAlignInlineLevelBoxes):
(WebCore::Layout::LineBoxBuilder::computeLineBoxHeightAndAlignInlineLevelBoxesVertically):
(WebCore::Layout::InlineFormattingGeometry::verticallyAdjustedLineForLineContent const):
(WebCore::Layout::InlineFormattingGeometry::lineBoxForLineContent const): Deleted.
* layout/formattingContexts/inline/InlineFormattingGeometry.h:
* layout/formattingContexts/inline/InlineLineBox.cpp:
(WebCore::Layout::LineBox::LineBox):
(WebCore::Layout::m_rootInlineBox): Deleted.
* layout/formattingContexts/inline/InlineLineBox.h:
(WebCore::Layout::LineBox::logicalRect const): Deleted.
(WebCore::Layout::LineBox::alignmentBaseline const): Deleted.
(WebCore::Layout::LineBox::setLogicalHeight): Deleted.
* layout/integration/LayoutIntegrationInlineContentBuilder.cpp:
(WebCore::LayoutIntegration::InlineContentBuilder::createDisplayNonRootInlineBoxes const):


Canonical link: https://commits.webkit.org/240752@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@281335 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-08-20 20:50:40 +00:00
..
DisplayBox.cpp [LFC Display] Introduce type-safe rect types for the display tree 2021-08-15 15:44:27 +00:00
DisplayBox.h [LFC Display] Introduce type-safe rect types for the display tree 2021-08-15 15:44:27 +00:00
DisplayBoxClip.cpp [LFC Display] Introduce type-safe rect types for the display tree 2021-08-15 15:44:27 +00:00
DisplayBoxClip.h [LFC Display] Introduce type-safe rect types for the display tree 2021-08-15 15:44:27 +00:00
DisplayBoxDecorationData.cpp
DisplayBoxDecorationData.h
DisplayBoxDecorationPainter.cpp [LFC Display] Introduce type-safe rect types for the display tree 2021-08-15 15:44:27 +00:00
DisplayBoxDecorationPainter.h
DisplayBoxFactory.cpp [LFC][IFC] LineBox provides redundant geometry information 2021-08-20 20:50:40 +00:00
DisplayBoxFactory.h [LFC][IFC] LineBox provides redundant geometry information 2021-08-20 20:50:40 +00:00
DisplayBoxModelBox.cpp [LFC Display] Introduce type-safe rect types for the display tree 2021-08-15 15:44:27 +00:00
DisplayBoxModelBox.h [LFC Display] Introduce type-safe rect types for the display tree 2021-08-15 15:44:27 +00:00
DisplayBoxPainter.cpp
DisplayBoxPainter.h
DisplayBoxRareGeometry.cpp
DisplayBoxRareGeometry.h
DisplayCSSPainter.cpp [LFC Display] Add a Display::Box flag for HasTransfrom 2021-08-15 15:43:36 +00:00
DisplayCSSPainter.h
DisplayContainerBox.cpp [LFC Display] Introduce type-safe rect types for the display tree 2021-08-15 15:44:27 +00:00
DisplayContainerBox.h [LFC Display] Introduce type-safe rect types for the display tree 2021-08-15 15:44:27 +00:00
DisplayFillLayerImageGeometry.cpp Next step toward using std::optional directly instead of through WTF::Optional typedef 2021-05-28 01:26:23 +00:00
DisplayFillLayerImageGeometry.h
DisplayImageBox.cpp [LFC Display] Make Display::ImageBox a CachedImageClient to get image repaint working 2021-08-15 20:46:16 +00:00
DisplayImageBox.h [LFC Display] Make Display::ImageBox a CachedImageClient to get image repaint working 2021-08-15 20:46:16 +00:00
DisplayPaintingContext.h
DisplayReplacedBox.cpp [LFC Display] Introduce type-safe rect types for the display tree 2021-08-15 15:44:27 +00:00
DisplayReplacedBox.h [LFC Display] Introduce type-safe rect types for the display tree 2021-08-15 15:44:27 +00:00
DisplayStackingItem.cpp Next step toward using std::optional directly instead of through WTF::Optional typedef 2021-05-28 01:26:23 +00:00
DisplayStackingItem.h [LFC Display] Introduce type-safe rect types for the display tree 2021-08-15 15:44:27 +00:00
DisplayStyle.cpp
DisplayStyle.h Remove <wtf/Optional.h> 2021-06-02 06:45:51 +00:00
DisplayTextBox.cpp [LFC Display] Introduce type-safe rect types for the display tree 2021-08-15 15:44:27 +00:00
DisplayTextBox.h [LFC Display] Introduce type-safe rect types for the display tree 2021-08-15 15:44:27 +00:00