Bug 242970 - RenderBox::determineBackgroundBleedAvoidance returns BackgroundBleedUseTransparencyLayer for cases of no bleeding without taking background-clip:content-box into account
Summary: RenderBox::determineBackgroundBleedAvoidance returns BackgroundBleedUseTransp...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-07-20 17:07 PDT by Fujii Hironori
Modified: 2022-07-27 17:08 PDT (History)
4 users (show)

See Also:


Attachments
test case (276 bytes, text/html)
2022-07-20 17:07 PDT, Fujii Hironori
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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>