Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3a5bb57eac7c1b8b6f7ef44651f8be50db26e568
      
https://github.com/WebKit/WebKit/commit/3a5bb57eac7c1b8b6f7ef44651f8be50db26e568
  Author: Alan Baradlay <[email protected]>
  Date:   2022-10-25 (Tue, 25 Oct 2022)

  Changed paths:
    M Source/WebCore/layout/formattingContexts/inline/InlineLineBoxBuilder.cpp
    M Source/WebCore/layout/formattingContexts/inline/InlineLineBoxBuilder.h

  Log Message:
  -----------
  [LFC][IFC] Decouple layout bounds and ascent/descent on inline level boxes
https://bugs.webkit.org/show_bug.cgi?id=246962

Reviewed by Antti Koivisto.

This is in preparation for supporting line-box-contain, where the layout bounds 
!= ascent/descent.

Introduce setAscentAndDescent to set the ascent/descent. No functionality 
change here.

* Source/WebCore/layout/formattingContexts/inline/InlineLineBoxBuilder.cpp:
(WebCore::Layout::LineBoxBuilder::setLayoutBounds const):
(WebCore::Layout::LineBoxBuilder::setAscentAndDescent const):
(WebCore::Layout::LineBoxBuilder::constructInlineLevelBoxes):
(WebCore::Layout::LineBoxBuilder::adjustIdeographicBaselineIfApplicable):
(WebCore::Layout::LineBoxBuilder::setBaselineAndLayoutBounds const): Deleted.
* Source/WebCore/layout/formattingContexts/inline/InlineLineBoxBuilder.h:

Canonical link: https://commits.webkit.org/255987@main


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to