Bug 242970

Summary: RenderBox::determineBackgroundBleedAvoidance returns BackgroundBleedUseTransparencyLayer for cases of no bleeding without taking background-clip:content-box into account
Product: WebKit Reporter: Fujii Hironori <Hironori.Fujii>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: bfulgham, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=65906
Attachments:
Description Flags
test case none

Description Fujii Hironori 2022-07-20 17:07:51 PDT
Created attachment 461061 [details]
test case

RenderBox::determineBackgroundBleedAvoidance returns BackgroundBleedUseTransparencyLayer for cases of no bleeding without taking background-clip:content-box into account

In the test case, RenderBox::paintBoxDecorations doesn't need to
begin a transparency layer because the background and borders
don't intersect. However,
RenderBox::determineBackgroundBleedAvoidance returns
BackgroundBleedUseTransparencyLayer because it's always assuming
background-clip:border-box.
Comment 1 Radar WebKit Bug Importer 2022-07-27 17:08:15 PDT
<rdar://problem/97692182>