[webkit-changes] [WebKit/WebKit] 4cf037: [IFC] Content with "line-break: after-white-space"...

Alan Baradlay noreply at github.com
Wed Aug 16 21:13:14 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4cf03770e957918349ce4caac4180e5d0b9a0fab
      https://github.com/WebKit/WebKit/commit/4cf03770e957918349ce4caac4180e5d0b9a0fab
  Author: Alan Baradlay <zalan at apple.com>
  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




More information about the webkit-changes mailing list