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 <fujii.hironori>
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

Fujii Hironori
Reported 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.
Attachments
test case (276 bytes, text/html)
2022-07-20 17:07 PDT, Fujii Hironori
no flags
Radar WebKit Bug Importer
Comment 1 2022-07-27 17:08:15 PDT
Note You need to log in before you can comment on or make changes to this bug.