[Webkit-unassigned] [Bug 250882] New: BackgroundPainter::paintFillLayers should check box-shadow when finding an opaque layer.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jan 19 17:49:38 PST 2023
https://bugs.webkit.org/show_bug.cgi?id=250882
Bug ID: 250882
Summary: BackgroundPainter::paintFillLayers should check
box-shadow when finding an opaque layer.
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Layout and Rendering
Assignee: webkit-unassigned at lists.webkit.org
Reporter: ahmad.saleem792 at gmail.com
CC: bfulgham at webkit.org, simon.fraser at apple.com,
zalan at apple.com
Hi Team,
While going through Blink's commit, I came across another failing test case in Safari 16.2 and STP161:
Test Case - https://jsfiddle.net/hL9bj0q7/show
^ It does not have any shadow in Safari but does in Chrome Canary 111 and Firefox Nightly 111.
Blink Commit - https://chromium.googlesource.com/chromium/blink/+/a48f4540763c24adff42b9b77d719597f51482f6
WebKit Source - https://searchfox.org/wubkat/source/Source/WebCore/rendering/BackgroundPainter.cpp#131
Need to add below or equivalent:
!boxShadowShouldBeAppliedToBackground(bleedAvoidance)
OR
!boxShadowShouldBeAppliedToBackground(m_renderer, paintRect.location(), bleedAvoidance, { })
____
Just wanted to raise so we can fix it.
Thanks!
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230120/52a60c79/attachment.htm>
More information about the webkit-unassigned
mailing list