Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b5db2ff0504dac4f5725e8af42b6284e40d635f1
      
https://github.com/WebKit/WebKit/commit/b5db2ff0504dac4f5725e8af42b6284e40d635f1
  Author: Sam Weinig <[email protected]>
  Date:   2025-11-13 (Thu, 13 Nov 2025)

  Changed paths:
    M Source/WebCore/platform/graphics/ColorConversion.h

  Log Message:
  -----------
  [Color] Remove unused CSSGamutMapping implementation
https://bugs.webkit.org/show_bug.cgi?id=302474

Reviewed by Simon Fraser.

Removes the implementation of the CSS gamut mapping algorithm
(https://drafts.csswg.org/css-color/#css-gamut-mapping) that
is currently unused. For now, we always clip (using `ClipGamutMapping`).

If this is ever brought back, we should be aware it has some
potential issues, such as potential infinite looping as reported
in https://bugs.webkit.org/show_bug.cgi?id=302129.

* Source/WebCore/platform/graphics/ColorConversion.h:
(WebCore::CSSGamutMapping::mapToBoundedGamut): Deleted.

Canonical link: https://commits.webkit.org/302994@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to