Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 295f40ef1882b3cb07b65777c128c1c228201b15
      
https://github.com/WebKit/WebKit/commit/295f40ef1882b3cb07b65777c128c1c228201b15
  Author: Alan Baradlay <[email protected]>
  Date:   2023-12-05 (Tue, 05 Dec 2023)

  Changed paths:
    M 
Source/WebCore/layout/formattingContexts/inline/ruby/RubyFormattingContext.cpp

  Log Message:
  -----------
  [IFC][Ruby] Do not break between ruby and special punctuation characters
https://bugs.webkit.org/show_bug.cgi?id=265831

Reviewed by Antti Koivisto.

Copy rules from RenderRubyText::canBreakBefore.

* LayoutTests/fast/ruby/ruby-punctuation-avoid-breaking.html:
* 
Source/WebCore/layout/formattingContexts/inline/ruby/RubyFormattingContext.cpp:
(WebCore::Layout::canBreakAtCharacter):
(WebCore::Layout::RubyFormattingContext::isAtSoftWrapOpportunity):

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


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

Reply via email to