Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4d07c077e8e991b0bbee261e73be21b785a6b670
      
https://github.com/WebKit/WebKit/commit/4d07c077e8e991b0bbee261e73be21b785a6b670
  Author: Sam Weinig <[email protected]>
  Date:   2026-09-29 (Tue, 29 Sep 2026)

  Changed paths:
    A 
LayoutTests/fast/shapes/shape-outside-floats/shape-outside-dynamic-shape-image-threshold-gradient-expected.html
    A 
LayoutTests/fast/shapes/shape-outside-floats/shape-outside-dynamic-shape-image-threshold-gradient.html
    M Source/WebCore/style/StyleDifference.cpp

  Log Message:
  -----------
  Missing check for shape-image-threshold in Style::difference()
https://bugs.webkit.org/show_bug.cgi?id=325672

Reviewed by Simon Fraser.

`shape-image-threshold` was not being checked in Style::difference(). This was 
mostly not an issue, as it
has no effect on normal url() images as they get dirtied by the loader on style 
change, but for something
like a gradient image, where the image is reused across the style change, it 
can be observed.

Test: 
fast/shapes/shape-outside-floats/shape-outside-dynamic-shape-image-threshold-gradient.html

* 
LayoutTests/fast/shapes/shape-outside-floats/shape-outside-dynamic-shape-image-threshold-gradient-expected.html:
 Added.
* 
LayoutTests/fast/shapes/shape-outside-floats/shape-outside-dynamic-shape-image-threshold-gradient.html:
 Added.
* Source/WebCore/style/StyleDifference.cpp:

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



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

Reply via email to