Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d5a5bc3994198ba1a2084204c933c1b7fb24207e
      
https://github.com/WebKit/WebKit/commit/d5a5bc3994198ba1a2084204c933c1b7fb24207e
  Author: Sam Weinig <[email protected]>
  Date:   2026-01-15 (Thu, 15 Jan 2026)

  Changed paths:
    A LayoutTests/fast/css/caret-color-auto-visited-style-crash-expected.txt
    A LayoutTests/fast/css/caret-color-auto-visited-style-crash.html
    M Source/WebCore/style/StyleInterpolationWrappers.h

  Log Message:
  -----------
  REGRESSION(305008@main): ASAN_ILL | Style::Blending::blend; 
Interpolation::VisitedAffectedStyleTypeWrapper::interpolate; 
Style::Interpolation::interpolate
https://bugs.webkit.org/show_bug.cgi?id=305409
rdar://168081655

Reviewed by Antoine Quint.

Fixes a crash due to how the VisitedAffectedStyleTypeWrapper interpolation
wrapper worked when the unvisited and visited styles returned different
"can interpolate" values, acting as if both could interpolate if either
was able to. Instead, we now cache the individual responses and construct
separate contexts before calling interpolate.

Test: fast/css/caret-color-auto-visited-style-crash.html
* LayoutTests/fast/css/caret-color-auto-visited-style-crash-expected.txt: Added.
* LayoutTests/fast/css/caret-color-auto-visited-style-crash.html: Added.
* Source/WebCore/style/StyleInterpolationWrappers.h:

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



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

Reply via email to