Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 98981860e899c90f4675628f0c52268e74e9a501
      
https://github.com/WebKit/WebKit/commit/98981860e899c90f4675628f0c52268e74e9a501
  Author: Alan Baradlay <[email protected]>
  Date:   2024-08-20 (Tue, 20 Aug 2024)

  Changed paths:
    M LayoutTests/TestExpectations
    M Source/WebCore/layout/formattingContexts/inline/InlineLineBoxBuilder.cpp

  Log Message:
  -----------
  [text-box-trim] Fix vertical box trimming (cap, ex etc)
https://bugs.webkit.org/show_bug.cgi?id=278344

Reviewed by Antti Koivisto.

In case of vertical direction, root inlinebox's ascent/descent are based on the 
ideographic (central) baseline
which gives incorrect result when computing how much we need to trim for 
cap/ex/alphabetic.

* LayoutTests/TestExpectations:
* Source/WebCore/layout/formattingContexts/inline/InlineLineBoxBuilder.cpp:
(WebCore::Layout::LineBoxBuilder::applyTextBoxTrimIfNeeded const):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to