Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 834b04082696bc035bee94598aa0ed33554c03b2
      
https://github.com/WebKit/WebKit/commit/834b04082696bc035bee94598aa0ed33554c03b2
  Author: Wenson Hsieh <[email protected]>
  Date:   2025-06-11 (Wed, 11 Jun 2025)

  Changed paths:
    M LayoutTests/platform/ios/TestExpectations
    M Source/WebCore/testing/cocoa/CocoaColorSerialization.mm

  Log Message:
  -----------
  REGRESSION(294820@main): [ iOS Debug ] 
fast/page-color-sampling/basic-fixed-container-edge-sampling.html is a constant 
crash.
https://bugs.webkit.org/show_bug.cgi?id=294225
rdar://152870409

Reviewed by Abrar Rahman Protyasha.

Adjust how `UIColor` / `NSColor` → CSS serialization works in 
WebCoreTestSupport, such that it's
robust in the case where any of the color components are either `-0.000000` or 
an otherwise
extremely small negative value, by using `roundAndClampToSRGBALossy` on the 
`CGColor`.

This sidesteps a debug assertion in test code, when running a handful of page 
color sampling tests.

* Source/WebCore/testing/cocoa/CocoaColorSerialization.mm:
(WebCoreTestSupport::serializationForCSS):

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