Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4cf03770e957918349ce4caac4180e5d0b9a0fab
      
https://github.com/WebKit/WebKit/commit/4cf03770e957918349ce4caac4180e5d0b9a0fab
  Author: Alan Baradlay <[email protected]>
  Date:   2023-08-16 (Wed, 16 Aug 2023)

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

  Log Message:
  -----------
  [IFC] Content with "line-break: after-white-space" is not eligible for 
intrinsic width content caching
https://bugs.webkit.org/show_bug.cgi?id=260325

Reviewed by Antti Koivisto.

Intrinsic width mode produces slightly different trailing (hanging) whitespace.

* Source/WebCore/layout/formattingContexts/inline/InlineFormattingContext.cpp:
(WebCore::Layout::InlineFormattingContext::computedIntrinsicSizes):
* Source/WebCore/layout/formattingContexts/inline/TextOnlySimpleLineBuilder.cpp:
(WebCore::Layout::TextOnlySimpleLineBuilder::hasIntrinsicWidthSpecificStyle):
* Source/WebCore/layout/formattingContexts/inline/TextOnlySimpleLineBuilder.h:

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


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

Reply via email to