Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 00f23a6aaf0bd00e63a042396e69aeb69bf48137
      
https://github.com/WebKit/WebKit/commit/00f23a6aaf0bd00e63a042396e69aeb69bf48137
  Author: Alan Bujtas <[email protected]>
  Date:   2022-09-26 (Mon, 26 Sep 2022)

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

  Log Message:
  -----------
  [LFC][IFC] Introduce InlineTextItem::isFullyTrimmable
https://bugs.webkit.org/show_bug.cgi?id=245651

Reviewed by Antti Koivisto.

This is in preparation for marking non-breaking-space characters trimmable when 
"-webkit-nbsp-mode: space" is present.

* Source/WebCore/layout/formattingContexts/inline/InlineLine.cpp:
(WebCore::Layout::Line::appendTextContent): Call isFullyTrimmable() to check if 
the trailing content could be trimmed.
* Source/WebCore/layout/formattingContexts/inline/InlineTextItem.cpp:
(WebCore::Layout::InlineTextItem::isFullyTrimmable const):
* Source/WebCore/layout/formattingContexts/inline/InlineTextItem.h:

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


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

Reply via email to