Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 6d7d6a2d4ee87c3942ae1088f7412658fa8866d8
https://github.com/WebKit/WebKit/commit/6d7d6a2d4ee87c3942ae1088f7412658fa8866d8
Author: Pawel Lampe <[email protected]>
Date: 2024-04-03 (Wed, 03 Apr 2024)
Changed paths:
M Source/WebCore/platform/graphics/skia/GraphicsContextSkia.cpp
Log Message:
-----------
[Skia] Fix GraphicsContextSkia::setLineDash when odd number of elements is
provided
https://bugs.webkit.org/show_bug.cgi?id=271760
Reviewed by Carlos Garcia Campos.
The spec states that if an odd number of elements is provided within dash array,
the array should be repeated to yield an even number of elements.
Therefore e.g. 1,2,3 should become 1,2,3,1,2,3.
* Source/WebCore/platform/graphics/skia/GraphicsContextSkia.cpp:
(WebCore::GraphicsContextSkia::setLineDash):
Canonical link: https://commits.webkit.org/276994@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes