Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 08c99bad53db78c7c665218e5fba8c86b1980ed7
      
https://github.com/WebKit/WebKit/commit/08c99bad53db78c7c665218e5fba8c86b1980ed7
  Author: Said Abou-Hallawa <s...@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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to