[webkit-changes] [WebKit/WebKit] 53cb4c: REGRESSION (278000 at main): Adobe Acrobat signature ...

Gerald Squelart noreply at github.com
Fri Jul 12 06:57:57 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 53cb4c04965122ec3b8cb8da242c5d9c9ba302a7
      https://github.com/WebKit/WebKit/commit/53cb4c04965122ec3b8cb8da242c5d9c9ba302a7
  Author: Gerald Squelart <g_squelart at apple.com>
  Date:   2024-07-12 (Fri, 12 Jul 2024)

  Changed paths:
    A LayoutTests/fast/canvas/canvas-strokePath-round-lineCap-expected.html
    A LayoutTests/fast/canvas/canvas-strokePath-round-lineCap.html
    M Source/WebCore/html/canvas/CanvasRenderingContext2DBase.cpp

  Log Message:
  -----------
  REGRESSION (278000 at main): Adobe Acrobat signature shows a broken line
https://bugs.webkit.org/show_bug.cgi?id=276471
rdar://131084323

Reviewed by Simon Fraser.

278000 at main removed the inflateStrokeRect code in
CanvasRenderingContext2DBase::strokeInternal(), which caused
stroke corners to be visually clipped off.

Fixing by re-adding the missing inflatedStrokeRect.

* LayoutTests/fast/canvas/canvas-strokePath-round-lineCap-expected.html: Added.
* LayoutTests/fast/canvas/canvas-strokePath-round-lineCap.html: Added.
* Source/WebCore/html/canvas/CanvasRenderingContext2DBase.cpp:
(WebCore::CanvasRenderingContext2DBase::strokeInternal):

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