[webkit-changes] [WebKit/WebKit] 08c99b: Applying wavy underline text decoration will hang ...

Said Abou-Hallawa noreply at github.com
Wed Oct 18 17:46:05 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 08c99bad53db78c7c665218e5fba8c86b1980ed7
      https://github.com/WebKit/WebKit/commit/08c99bad53db78c7c665218e5fba8c86b1980ed7
  Author: Said Abou-Hallawa <said at apple.com>
  Date:   2023-10-18 (Wed, 18 Oct 2023)

  Changed paths:
    A LayoutTests/fast/text/text-zero-size-wavy-style-expected.txt
    A LayoutTests/fast/text/text-zero-size-wavy-style.html
    M Source/WebCore/rendering/TextDecorationPainter.cpp

  Log Message:
  -----------
  Applying wavy underline text decoration will hang if the font size is zero
https://bugs.webkit.org/show_bug.cgi?id=260372
rdar://113930569

Reviewed by Cameron McCormack.

Underline and overline text decoration should be ignored if the font size is zero.

* LayoutTests/fast/text/text-zero-size-wavy-style-expected.txt: Added.
* LayoutTests/fast/text/text-zero-size-wavy-style.html: Added.
* Source/WebCore/rendering/TextDecorationPainter.cpp:
(WebCore::strokeWavyTextDecoration):
(WebCore::TextDecorationPainter::paintBackgroundDecorations):

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




More information about the webkit-changes mailing list