Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 133a726cfb579be751c5fd45dbd602c85d78da07
      
https://github.com/WebKit/WebKit/commit/133a726cfb579be751c5fd45dbd602c85d78da07
  Author: Alan Baradlay <[email protected]>
  Date:   2023-11-05 (Sun, 05 Nov 2023)

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

  Log Message:
  -----------
  [IFC][Ruby] Fix fast/ruby/ruby-text-before-after-content.html
https://bugs.webkit.org/show_bug.cgi?id=264221

Reviewed by Antti Koivisto.

Sum of the individual inline items' logical width may not match the final 
content width due
to certain inline layout rules like white-space collapsing.
Let's just get the content width off of the line when finished placing the ruby 
base content.

* 
Source/WebCore/layout/formattingContexts/inline/ruby/RubyFormattingContext.cpp:
(WebCore::Layout::RubyFormattingContext::layoutRubyBaseInlineAxis): (turn for 
loop into a while and handle content alignment outside of the loop).

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


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

Reply via email to