[webkit-changes] [WebKit/WebKit] f4bc38: Incorrect Rendering of Dashed Underline in WebKit

Mateusz noreply at github.com
Fri Mar 22 22:32:08 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f4bc3800d06ddf4609416117a2614cb0e1b1d171
      https://github.com/WebKit/WebKit/commit/f4bc3800d06ddf4609416117a2614cb0e1b1d171
  Author: Mateusz Daniluk <danilukmateusz92 at gmail.com>
  Date:   2024-03-22 (Fri, 22 Mar 2024)

  Changed paths:
    M Source/WebCore/platform/graphics/cg/GraphicsContextCG.cpp

  Log Message:
  -----------
  Incorrect Rendering of Dashed Underline in WebKit
https://bugs.webkit.org/show_bug.cgi?id=268448

Reviewed by Alan Baradlay.

This commit updates the rendering logic for dashed lines. Previously, dashes intersecting with the specified boundaries were completely omitted. Now, the rendering process trims these dashes at the intersection points instead of entirely removing them. This enhancement ensures a more accurate and visually consistent representation of dashed lines, especially in scenarios where partial dashes are expected to be visible at the edges.

* Source/WebCore/platform/graphics/cg/GraphicsContextCG.cpp:
(WebCore::GraphicsContextCG::drawLinesForText):

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