Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8b5fe77dc02bfa94e09ffee0848133f4199d19a9
      
https://github.com/WebKit/WebKit/commit/8b5fe77dc02bfa94e09ffee0848133f4199d19a9
  Author: Alan Baradlay <[email protected]>
  Date:   2025-10-17 (Fri, 17 Oct 2025)

  Changed paths:
    A LayoutTests/fast/box-shadow/inset-shadow-large-spread2-expected.html
    A LayoutTests/fast/box-shadow/inset-shadow-large-spread2.html
    M Source/WebCore/rendering/BackgroundPainter.cpp

  Log Message:
  -----------
  REGRESSION (299603@main): Inset box-shadow not rendered when spread is larger 
than element
https://bugs.webkit.org/show_bug.cgi?id=300477
<rdar://problem/162373297>

Reviewed by Simon Fraser.

When the inset shadow fully covers the box (i.e., the inner hole rect becomes 
zero),
we should paint the outer shape (the full rect) rather than the zero rect.
(Note that the inner rect is never the (inset) shadow itself).

Test: fast/box-shadow/inset-shadow-large-spread2.html

* LayoutTests/fast/box-shadow/inset-shadow-large-spread2-expected.html: Added.
* LayoutTests/fast/box-shadow/inset-shadow-large-spread2.html: Added.
* Source/WebCore/rendering/BackgroundPainter.cpp:
(WebCore::BackgroundPainter::paintBoxShadow const):

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