Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 25a983afbde5c58bd75b054a5fdd511e28216d8e
      
https://github.com/WebKit/WebKit/commit/25a983afbde5c58bd75b054a5fdd511e28216d8e
  Author: Rob Buis <[email protected]>
  Date:   2024-02-22 (Thu, 22 Feb 2024)

  Changed paths:
    M LayoutTests/TestExpectations
    M Source/WebCore/rendering/svg/SVGMarkerData.h

  Log Message:
  -----------
  Improve SVG Markers
https://bugs.webkit.org/show_bug.cgi?id=269789

Reviewed by Nikolas Zimmermann.

Fix the following problems:
- if the previous segment was a move to, we need to calculate the previous 
(mid-marker) segment orientation as a start marker
- if we are now moving to a new subpath, the previous (mid-marker) segment 
orientation should be calculated as an end marker
- don't calculate the out slope if we are moving to a new suboath

Fixes:
web-platform-tests/svg/painting/reftests/marker-path-011.svg
web-platform-tests/svg/painting/reftests/marker-path-012.svg

* LayoutTests/TestExpectations:
* Source/WebCore/rendering/svg/SVGMarkerData.h:
(WebCore::SVGMarkerData::SVGMarkerData):
(WebCore::SVGMarkerData::updateFromPathElement):

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

Reply via email to