Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f45551df5142670709417f9d6444669fd17ae80c
      
https://github.com/WebKit/WebKit/commit/f45551df5142670709417f9d6444669fd17ae80c
  Author: Alan Baradlay <[email protected]>
  Date:   2026-02-15 (Sun, 15 Feb 2026)

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

  Log Message:
  -----------
  [IFC] RangeBasedLineBuilder should report <span></span> as non-contentful
https://bugs.webkit.org/show_bug.cgi?id=307926

Reviewed by Antti Koivisto.

1. LineLayoutResult inlineContentEnding actually means 
contentfulInlineContentEnding.
2. RangeBasedLineBuilder should check for decoration on empty inline boxes.

This is in preparation for fixing webkit.org/b/307917.

* Source/WebCore/layout/formattingContexts/inline/LineLayoutResult.h:
(WebCore::Layout::LineLayoutResult::inflowContentType const):
(WebCore::Layout::LineLayoutResult::endsWithHyphen const):
(WebCore::Layout::LineLayoutResult::endsWithLineBreak const):
* Source/WebCore/layout/formattingContexts/inline/RangeBasedLineBuilder.cpp:
(WebCore::Layout::RangeBasedLineBuilder::layoutInlineContent):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to