[webkit-changes] [WebKit/WebKit] 9f322e: [text-box-trim] Use integral values for capHeight/...

Alan Baradlay noreply at github.com
Sun Sep 15 05:30:21 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9f322eb064afb662705c6f13a0a7e8ce9093a134
      https://github.com/WebKit/WebKit/commit/9f322eb064afb662705c6f13a0a7e8ce9093a134
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2024-09-15 (Sun, 15 Sep 2024)

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

  Log Message:
  -----------
  [text-box-trim] Use integral values for capHeight/xHeight
https://bugs.webkit.org/show_bug.cgi?id=279717

Reviewed by Antti Koivisto.

We need integral values here to match the rest of the codebase (for now).

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

Canonical link: https://commits.webkit.org/283679@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