Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8ed055f73871f20e519ed8920f711196d204df5e
      
https://github.com/WebKit/WebKit/commit/8ed055f73871f20e519ed8920f711196d204df5e
  Author: Alan Baradlay <za...@apple.com>
  Date:   2023-04-05 (Wed, 05 Apr 2023)

  Changed paths:
    A 
LayoutTests/fast/inline/box-decoration-clone-with-padding-end-expected.html
    A LayoutTests/fast/inline/box-decoration-clone-with-padding-end.html
    M Source/WebCore/layout/formattingContexts/inline/InlineLine.cpp

  Log Message:
  -----------
  REGRESSION (Safari 16.4): "box-decoration-break: clone" with "padding-right" 
is missing padding space
https://bugs.webkit.org/show_bug.cgi?id=255036
<rdar://problem/107668970>

Reviewed by Antti Koivisto.

Account for cloned decoration end when computing the content width for merged 
text runs.

* LayoutTests/fast/inline/box-decoration-clone-with-padding-end-expected.html: 
Added.
* LayoutTests/fast/inline/box-decoration-clone-with-padding-end.html: Added.
* Source/WebCore/layout/formattingContexts/inline/InlineLine.cpp:
(WebCore::Layout::Line::appendTextContent):
* Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp:
(WebCore::LayoutIntegration::canUseForLineLayout):

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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to