[webkit-changes] [WebKit/WebKit] 34b398: [IFC][Ruby] Ruby base content may wrap even when s...

Alan Baradlay noreply at github.com
Tue Mar 19 08:58:02 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 34b398f9df154d66b8f8567cc27fe3ad1d856182
      https://github.com/WebKit/WebKit/commit/34b398f9df154d66b8f8567cc27fe3ad1d856182
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2024-03-19 (Tue, 19 Mar 2024)

  Changed paths:
    A LayoutTests/fast/ruby/ruby-base-content-should-not-wrap-expected.html
    A LayoutTests/fast/ruby/ruby-base-content-should-not-wrap.html
    M Source/WebCore/layout/formattingContexts/inline/InlineFormattingUtils.cpp

  Log Message:
  -----------
  [IFC][Ruby] Ruby base content may wrap even when style says no
https://bugs.webkit.org/show_bug.cgi?id=269235
<rdar://122811940>

Reviewed by Antti Koivisto.

There's no soft wrap opportunity between 2 adjacent non-whitespace characters when style says nowrap.

* LayoutTests/fast/ruby/ruby-base-content-should-not-wrap-expected.html: Added.
* LayoutTests/fast/ruby/ruby-base-content-should-not-wrap.html: Added.
* Source/WebCore/layout/formattingContexts/inline/InlineFormattingUtils.cpp:
(WebCore::Layout::isAtSoftWrapOpportunity):

Originally-landed-as: 2c41110b8852. rdar://124558811
Canonical link: https://commits.webkit.org/276350@main



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


More information about the webkit-changes mailing list