Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f4bc3800d06ddf4609416117a2614cb0e1b1d171
      
https://github.com/WebKit/WebKit/commit/f4bc3800d06ddf4609416117a2614cb0e1b1d171
  Author: Mateusz Daniluk <danilukmateus...@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
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to