[webkit-changes] [WebKit/WebKit] dcd60b: Return initial value for `stop-color` instead of `...

Ahmad Saleem noreply at github.com
Mon Feb 19 13:17:43 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: dcd60b82e8d89608e2cb5072c7e3f3ee040102c8
      https://github.com/WebKit/WebKit/commit/dcd60b82e8d89608e2cb5072c7e3f3ee040102c8
  Author: Ahmad Saleem <ahmad.saleem792+github at gmail.com>
  Date:   2024-02-19 (Mon, 19 Feb 2024)

  Changed paths:
    M Source/WebCore/svg/SVGStopElement.cpp

  Log Message:
  -----------
  Return initial value for `stop-color` instead of `transparentBlack`

https://bugs.webkit.org/show_bug.cgi?id=269545

Reviewed by Nikolas Zimmermann.

This patch is to better align with expectations and web-specification by
returning initial value (black) rather than 'transparentBlack' for `stop-color`
in absence of 'renderer'.

Web-Spec: https://svgwg.org/svg2-draft/pservers.html#StopColorProperties

* Source/WebCore/svg/SVGStopElement.cpp:
(SVGStopElement::stopColorIncludingOpacity):

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